Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Language tests: Eliminate warning for instance/static method clash #31353
This is the test specific issue for #31201, which has the details.
The goal of this issue is to change all relevant tests in
referenced this issue
Nov 10, 2017
It is not trivial to find the affected tests, but here are some results:
Status files contain the following entries for
Hence, the analyzer and dartdevc seem to emit the error that they shouldn't, but the test has been updated to have the correct expectation, and the tools are blamed for emitting a compile-time error that they shouldn't: All is well!
The following tests are related, but they are concerned with the converse case (a static member in a subclass has a name clash with an inherited instance member, which is still an error):
In other words, I can only spot one single test which is testing the topic of this issue, and it is marked correctly, and the tools that do not behave as specified are marked as they should in status files.
With that, I'll conclude that the tests are OK, and close this issue.