[Issue 19296] ICE on Unknown member type in struct returned from function
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Oct 10 11:10:05 UTC 2018
https://issues.dlang.org/show_bug.cgi?id=19296
Simen Kjaeraas <simen.kjaras at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |ice
CC| |simen.kjaras at gmail.com
Summary|CTFE internal error: |ICE on Unknown member type
|ErrorExp |in struct returned from
| |function
--- Comment #1 from Simen Kjaeraas <simen.kjaras at gmail.com> ---
Reduced:
S[] arr = [s()];
S s() {
return S.init;
}
struct S {
UnknownType fail;
}
--
More information about the Digitalmars-d-bugs
mailing list