internal error: cannot evaluate at compile time
--
https://issues.dlang.org/show_bug.cgi?id=13028
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
internal error: cannot evaluate at compile time
--
https://issues.dlang.org/show_bug.cgi?id=13028
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords|ice-on-invalid-code |ice, pull
--- Comment #3
https://issues.dlang.org/show_bug.cgi?id=13028
--- Comment #4 from Kenji Hara k.hara...@gmail.com ---
(In reply to Kenji Hara from comment #3)
https://github.com/D-Programming-Language/dmd/pull/4208
It will improve the diagnosic messages:
test.d(3): Error: variable dg cannot be read at compile
https://issues.dlang.org/show_bug.cgi?id=13028
safety0ff.bugz safety0ff.b...@gmail.com changed:
What|Removed |Added
Keywords||diagnostic
https://issues.dlang.org/show_bug.cgi?id=13028
safety0ff.bugz safety0ff.b...@gmail.com changed:
What|Removed |Added
Keywords|ice |ice-on-invalid-code
https://issues.dlang.org/show_bug.cgi?id=13028
--- Comment #1 from Kenji Hara k.hara...@gmail.com ---
(In reply to safety0ff.bugz from comment #0)
Removing the enum b = ___; line it works.
It would be nice if it would work when the parameter is compile-time
evaluable.
This is an invalid
https://issues.dlang.org/show_bug.cgi?id=13028
safety0ff.bugz safety0ff.b...@gmail.com changed:
What|Removed |Added
Summary|[ICE] CTFE internal error: |[ICE] CTFE internal