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
Thanks for the report! However, this issue is currently being resolved:
As per #26655, we are introducing the ability to access initializing formal parameters (like the third parameter this.doc in your example) in the initializer list. This makes the behavior of dart correct (there will be a name clash), and the analyzer will be updated to diagnose this kind of name clash as a compile time error.
The following code doesn't generate any warnings:
However it gives this error when run:
Presumably there should be a warning about the duplicate parameters.
The text was updated successfully, but these errors were encountered: