Chromium Code Reviews
DescriptionFix language/bad_constructor_test in dartk and analyzer.
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
Committed: https://github.com/dart-lang/sdk/commit/76442f93947e41a85ed7242a7366cf114d680a8a
Patch Set 1 #
Total comments: 2
Patch Set 2 : Add test cases #Patch Set 3 : Move test cases so they remain sorted #Patch Set 4 : Remove extra blank line #
Messages
Total messages: 9 (4 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||