Skip to content

Test co19/LanguageFeatures/nnbd/list_length_t03 needs update #620

Closed
@crelier

Description

@crelier

Calling test(T t1, T t2) with test(1, "2") results in a non-nullable inferred type T, i.e. Object.
The test therefore fails.
An explicit nullable Object? should be passed.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions