https://issues.dlang.org/show_bug.cgi?id=3827

--- Comment #34 from Stewart Gordon <[email protected]> ---
(In reply to bearophile_hugs from comment #33)
> A problem with @nogc:
> 
> 
> void main() @nogc {
>     string s1 = "AB" "CD";   // OK
>     string s2 = "AB" ~ "CD"; // Error
> }
> 
> 
> temp.d(3,17): Error: cannot use operator ~ in @nogc function main

That's a separate bug - please file it if it isn't already there.

--

Reply via email to