-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Open
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onanalyzer-recoveryarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.model-error-recoveryError recovery in analyzer/CFE.Error recovery in analyzer/CFE.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug
Description
Compare:
https://dartpad.dartlang.org/8f24e1eb9c237c01bcb3
Both have the same syntax error, a missing { on the function body.
Dart prints 8 errors, 7 of which are completely useless noise and one is in completely the wrong place (a full 3 lines from where the error actually is).
Typescript prints two - one at the method I messed up on, and one (correctly) at the end brace for that method.
Metadata
Metadata
Assignees
Labels
P2A bug or feature request we're likely to work onA bug or feature request we're likely to work onanalyzer-recoveryarea-dart-modelFor issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.For issues related to conformance to the language spec in the parser, compilers or the CLI analyzer.model-error-recoveryError recovery in analyzer/CFE.Error recovery in analyzer/CFE.type-enhancementA request for a change that isn't a bugA request for a change that isn't a bug