Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the default values to be specified in the methods of interfaces #2955

Closed
DartBot opened this issue May 9, 2012 · 3 comments
Closed
Labels
closed-duplicate Closed in favor of an existing report

Comments

@DartBot
Copy link

DartBot commented May 9, 2012

This issue was originally filed by @tomyeh


It will be better if we can specify the default values for the parameters of interface methods.
For example,

interface Foo {
  Foo([int v=0]);
  void f([int v=0]);
}

@DartBot
Copy link
Author

DartBot commented May 9, 2012

This comment was originally written by [email protected]


This is a duplicate of issue #2207, which is already fixed in the forthcoming version of the specification. I think this should be classified as a duplicate.

@DartBot
Copy link
Author

DartBot commented May 9, 2012

This comment was originally written by @tomyeh


My bad. It is a duplicate. Please close it.

@anders-sandholm
Copy link
Contributor

Thanks (again), Ladislav :-)


Added Duplicate label.
Marked as being merged into #2207.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-duplicate Closed in favor of an existing report
Projects
None yet
Development

No branches or pull requests

2 participants