Skip to content

Test NamedParametersWithObjectPropertyNamesTest.dart is illegal dart code #2137

Closed
@DartBot

Description

@DartBot

This issue was originally filed by @mhausner


Test language/src/NamedParametersWithObjectPropertyNamesTest.dart contains several
methods that have optional named arguments that start with and underscore.

The language spec says:

 It is a compile-time error if the name of a named optional parameter begins with an ‘_’ character.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions