Skip to content

Crash: parsing generic factory method with type parameter bound #721

@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


Consider the following test:

class M<T> {
  factory M<T extends C>() {}
}

main() {

}

This produces the following error:
runtime/vm/class_finalizer.cc:276: error: expected: !lib.IsNull()

Dart VM r2175

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions