Closed kika closed 2 years ago
As in the linked issue, seems to be isolated to dartdevc
(i.e. flutter run
in my case). Building with flutter build
doesn't result in any issues.
Workaround: change final String name
to final String nom
(and constructor argument accordingly).
So don't use name name. Chris Null sends his best wishes.
@kika Thanks for the report. This has been fixed in the main branch 539cccd8234ee10fddca244d9855ce0e0e5d8c45 and will rollout with the next stable release.
Steps to reproduce:
Uncaught SyntaxError: Duplicate parameter name not allowed in this context
During real Flutter development no diagnostic is ever produced anywhere besides the browser console, the
flutter run -d chrome
just sits stuck in "waiting for connection from debug service".I'm using latest stable Flutter (3.0.5) and dartpad uses as of this writing 2.17.6
Not sure if related: https://github.com/dart-lang/sdk/issues/43362