Skip to content

Issues in the CFE related to pattern schemas in type inference #51587

Closed
@chloestefantsova

Description

@chloestefantsova

As mentioned in #51585, the context type schema should be the shape, not the type in the record patterns.

Affected test: https://github.com/dart-lang/co19/blob/7b4f3e723211011878e185db6fa57fbafabd6bb7/LanguageFeatures/Patterns/type_inference_A26_t01.dart#L34-L37

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions