On Monday, 11 April 2016 at 00:55:44 UTC, Mike Parker wrote:
On Sunday, 10 April 2016 at 17:19:14 UTC, Eric wrote:
I am getting this error when I compile:
Error: Internal Compiler Error: unsupported type const(string)
No line number is given. Does anyone know what causes this?
compiler version = v2.071.0
-Eric
An ICE should always be considered a bug, no matter its cause.
The thing to do here is to search bugzilla to see if your issue
has already been reported and, if not, open a new one with a
minimal reproducible test case.
I don't see this specific error in bugzilla. Unfortunately I am
getting this error in a large module that has "const string" all
over. So I can't come up with a simple test case. The compiler
does not seem to have a problem with just using a "const string"
declaration.