Skip to content

Editor does not correctly identify error position in files with non-ascii characters #4109

@alan-knight

Description

@alan-knight

Load in the attached date_time_symbols file. It contains an error, on line 2858, with a doubled colon. However, if I load it into the editor, it highlights the error as being at line 3159, which is fine. My guess would be that something is counting bytes where it ought to be counting characters, or vice versa.


Attachments:
date_time_symbols.dart (187.32 KB)
date_format_for_locale.dart (2.05 KB)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions