Ah, okay. I just dumped it into a file and ran dmd before leaving the office.

This looks like a compiler bug to me. The struct should be implicitly convertable to const(S)

Reply via email to