https://issues.dlang.org/show_bug.cgi?id=22763
Issue ID: 22763 Summary: importing std.utf fails in BetterC Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: snarwin+bugzi...@gmail.com As of DMD 2.098.1, the following program fails to compile with -betterC --- import std.utf; --- The error message is: --- /dlang/dmd/linux/bin64/../../src/phobos/std/utf.d(66): Error: module `core.exception` import `UnicodeException` not found --- This error occurs because the druntime symbol core.exception.UnicodeException is in the `else` block of a `version (D_BetterC)` declaration. --