You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Language] Abstract or static method named the same as enclosing class #3284
As this stands, the shadowing is warning. Our tendency is to make this an error, interpreting these cases as malformed constructors rather than shadowing methods. Details TBD.
Activity
kasperl commentedon May 29, 2012
Added Area-Language, Triaged labels.
gbracha commentedon May 29, 2012
I expect to see shadowing warnings on these and no more.
Set owner to @gbracha.
Added Accepted label.
gbracha commentedon May 29, 2012
As this stands, the shadowing is warning. Our tendency is to make this an error, interpreting these cases as malformed constructors rather than shadowing methods. Details TBD.
Added this to the M1 milestone.
Removed Type-Defect label.
Added Type-Enhancement label.
gbracha commentedon Jul 4, 2012
Added to section 7:
It is compile time error if a class C declares a member with the same name as C.
Added Done label.
gbracha commentedon Jul 4, 2012
Analyzer issue: 3986
VM issu : 3987
dart2js issue: 3988
[deps] rev bazel_worker, benchmark_harness, boolean_selector, browser…