Comment #0 by timothee.cour2 — 2018-02-15T23:27:31Z
[email protected]:timotheecour/dtools
cd tests/bug_dmd_frontend
$dmd_current_X --version
DMD64 D Compiler v2.078.2-699-g6a2db254e-dirty
DMD=$dmd_current_X dub --single main.d
file1.d(1): Error: Invalid trailing code unit
file1.d(1): Error: declaration expected, not `#`
file1.d(1): Error: character 0x7f is not a valid token
core.exception.AssertError@../../../../../.dub/packages/dmd-master/dmd/src/dmd/frontend.d(235): Parsing error occurred.
$dmd_current_X -o- file1.d
#doesn't complain
not sure what's wrong with `file1.d`, eg:
ag "[\x80-\xFF]" file1.d
pcregrep --color='auto' -n '[^\x00-\x7F]' file1.d
don't show any non ascii characters
Comment #1 by robert.schadek — 2024-12-13T18:57:09Z