Skip to content

Type checking of named arguments is wrong. #932

@peter-ahe-google

Description

@peter-ahe-google

$ dartc fisk.dart
fisk.dart:4: int is not assignable to String
     3: main() {
     4: fisk(i: 1);
$ cat fisk.dart
fisk([String string, int i]) {}

main() {
  fisk(i: 1);
}

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