January 12, 2024 [Issue 24330] Redundant template instantiations for equal string/array literals | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24330 --- Comment #1 from Dennis <dkorpel@live.nl> --- Related issue: ```D void f(int[] b)() { } void main() { enum dstring s = (""d ~ cast(dchar) 0xFFFF_FFFF); f!(cast(int[]) s ~ []); // works f!(cast(int[]) s); // invalid UCS-32 char \Uffffffff } ``` Fails because it tries to mangle the int[] as a string because it's a StringExp. -- |
December 13 [Issue 24330] Redundant template instantiations for equal string/array literals | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=24330 --- Comment #2 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20379 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation