Created
November 1, 2022 09:38
-
-
Save zorael/cf14c6a9ad9ef6c28819b591511221cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void main() | |
{ | |
string[][string] ignore; | |
deserialise(string.init, ignore); | |
} | |
void deserialise(Range, Things...)(Range range, Things things) | |
{ | |
foreach (rawline; range) | |
{ | |
string line; | |
switch (line[0]) | |
{ | |
default: | |
thingloop: | |
foreach (i; things) | |
{ | |
continue thingloop; | |
} | |
} | |
} | |
} | |
/* | |
Performing "debug" build using gdc for x86_64. | |
gdcsegtest ~master: building configuration "application"... | |
during GIMPLE pass: cfg | |
source/kameloso/app.d: In function ‘deserialise’: | |
source/kameloso/app.d:7:6: internal compiler error: Segmentation fault | |
7 | void deserialise(Range, Things...)(Range range, Things things) | |
| ^ | |
0x1ac32f4 internal_error(char const*, ...) | |
???:0 | |
0xe98543 cleanup_dead_labels() | |
???:0 | |
Please submit a full bug report, with preprocessed source (by using -freport-bug). | |
Please include the complete backtrace with any bug report. | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment