Skip to content

Line info gets thrown off by raw multi-line strings. #57196

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

Closed
pq opened this issue Mar 11, 2015 · 0 comments
Closed

Line info gets thrown off by raw multi-line strings. #57196

pq opened this issue Mar 11, 2015 · 0 comments
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@pq
Copy link
Member

pq commented Mar 11, 2015

var a_b = r'''
blah
''';

var b_c = 1;

yields:

.../src/scratch.dart 1:5 [lint] DO name non-constant identifiers using lowerCamelCase.
var a_b = r'''
    ^^^
.../src/scratch.dart 4:5 [lint] DO name non-constant identifiers using lowerCamelCase.

    ^^^

1 file analyzed, 2 issues found.

4:5 should be 5:5.

Tracking bug on the analyzer side is here.

@pq pq added the type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) label Mar 11, 2015
@devoncarew devoncarew added devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. labels Nov 18, 2024
@devoncarew devoncarew transferred this issue from dart-archive/linter Nov 18, 2024
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devexp-linter Issues with the analyzer's support for the linter package legacy-area-analyzer Use area-devexp instead. type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

No branches or pull requests

2 participants