Skip to content

Meta-issue for discussion of the proposal to allow optional and named arguments in the same argument list #30354

Closed as not planned
@leafpetersen

Description

@leafpetersen

This issue is to provide a forum for community discussion and feedback related to the proposal to allow named optional parameters and positional optional parameters to appear simultaneously in a parameter list.

That is, a method declaration with both types of optional parameters can be written, perhaps like:

Future<Isolate> spawn(Uri target, [List<String> args, Object param], {bool paused});

This entry will be updated when a proposal is available.

cc @munificent @eernstg @floitschG @lrhn

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-languageDart language related items (some items might be better tracked at github.com/dart-lang/language).closed-staleClosed as the issue or PR is assumed stalelanguage-discussion

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions