Bug 21851 – UTF8: Column numbers reported by -vcolumns don't respect multibyte characters

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2021-04-23T10:50:35Z
Last change time
2024-12-13T19:15:52Z
Keywords
diagnostic
Assigned to
No Owner
Creator
Iain Buclaw
Moved to GitHub: dmd#19908 →

Comments

Comment #0 by ibuclaw — 2021-04-23T10:50:35Z
Same as issue 21849, except this is to do with the number reported by the `-vcolumn' switch. E.g: --- void main() { string straße = 42; } --- Will report the byte column number in the conversion error. --- test.d(12,22): Error: cannot implicitly convert expression 42 of type int to string --- When the actual message it should generate is --- test.d(12,21): Error: cannot implicitly convert expression 42 of type int to string ---
Comment #1 by robert.schadek — 2024-12-13T19:15:52Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19908 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB