Bug 18447 – Error: Invalid trailing code unit; dmd/frontend.d(235): Parsing error occurred.

Status
NEW
Severity
normal
Priority
P3
Component
dmd
Product
D
Version
D2
Platform
x86
OS
Mac OS X
Creation time
2018-02-15T23:27:31Z
Last change time
2024-12-13T18:57:09Z
Assigned to
No Owner
Creator
Timothee Cour
Moved to GitHub: dmd#19390 →

Comments

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
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/19390 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB