[Issue 24032] Compiler is parsing string parameters to Templates
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Mon Jul 10 11:32:26 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=24032
Dennis <dkorpel at live.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |dkorpel at live.nl
Hardware|x86_64 |All
Resolution|--- |INVALID
OS|Linux |All
--- Comment #7 from Dennis <dkorpel at live.nl> ---
Like FeepingCreature said, q{} is a string of D tokens, typically used for
string mixin purposes. dmd's behavior is correct. Please use a different string
literal kind for strings with code from other languages.
--
More information about the Digitalmars-d-bugs
mailing list