New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Editor should use indentation and empty lines for better hints #8362
Comments
Added Area-Editor, Triaged labels. |
Set owner to @scheglov. |
Removed the owner. |
This comment was originally written by amouravski@google.com Added Editor-AnalysisEngine label. |
Set owner to @bwilkerson. |
Added Analyzer-Recovery label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
This can be closed. The error is clear now: class A {
String foo // error: Expected to find ';'
A();
} |
Thanks for verifying this! |
This issue was originally filed by source.s...@gmail.com
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Expected: "Unexpected IDENTIFIER; you may be missing a semicolon on the previous line" or highlight the previous line and provide the error "Unexpected IDENTIFIER" or simply highlight the line and provide any other error since obviously anything other then equals sign, comma or semicolon are the only possible values for a field; therefore if anything other then those appears the error should be on the field.
Actual: highlighting constructor, and message "Unexpected token 'IDENTIFIER' (expected '(')"
What version of the product are you using? On what operating system?
Dart Editor version 0.3.4_r18115
Dart SDK version 0.3.4.0_r18115
Please provide any additional information below.
The current message should at least be changed to be more humane, ie. "Did not expect <insert class name> after <insert field name>"
The text was updated successfully, but these errors were encountered: