76442f9394
The test was incorrect because it did not declare that a static warning was to be expected due to an unresolved reference to 'q'. The unresolved reference has been removed as it has nothing to do with what it is supposed to test. The analyzer was incorrect in that a setter was reported to clash with a constructor of the same name, but this failure was hidden by the above issue. This has been fixed. dartk inherited the issue (and its fix) from the analyzer, but some additional error handling was needed in dartk to avoid crashing. Closes https://github.com/dart-lang/sdk/issues/11576 BUG= R=kmillikin@google.com, scheglov@google.com Review-Url: https://codereview.chromium.org/2643693002 .
A frontend using the Dart analyzer.