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

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #2 from [email protected] ---
Oh, that seems obvious in retrospect.
I was confused by a unittest in std/variant:
https://github.com/D-Programming-Language/phobos/blob/master/std/variant.d#L2051-2053.
!__traits(compiles, ...) passes, but not for the reason I thought!

I also assumed string is a keyword, but apparently its not.

I think its fair to close this.

I have a fix for that test included as part of a PR for something else:
https://github.com/D-Programming-Language/phobos/pull/4035.

--

Reply via email to