View Issue Details

IDProjectCategoryView StatusLast Update
0030866RunnerWindows (YYC)Public2019-06-03 11:13
ReporterYellowAfterlifeAssigned ToRussell Kay 
PriorityLowSeverityC - GeneralReproducibility100%
Status ClosedResolutionFixed 
PlatformWindowsOSWindows 10 ProOS Version>=1703
Product VersionInternal Build 
Target Version2.2.3Fixed in Version2.2.3 
Summary0030866: YYC: Having a fall-through case before default and a case after default will move the later in the way of fall-through
DescriptionGML:
for (var i = 0; i < 3; i++) switch (i) {
    case 0:
        show_debug_message("0!");
    default:
        show_debug_message("fall");
        break;
    case 1:
        show_debug_message("1!");
        break;
}

VM:
0!
fall
1!
fall

YYC:
0!
1!
1!
fall

C++:
switch( ___swc4___ ) {
case 0: {
YY_STACKTRACE_LINE(3);
YYGML_show_debug_message(YYRValue((const char*)g_pString5_2A8DC142));
}
case 2: {
YY_STACKTRACE_LINE(8);
YYGML_show_debug_message(YYRValue((const char*)g_pString6_2A8DC142));
YY_STACKTRACE_LINE(9);
break;
}
default: {
YY_STACKTRACE_LINE(5);
YYGML_show_debug_message(YYRValue((const char*)g_pString7_2A8DC142));
YY_STACKTRACE_LINE(6);
break;
}
Additional InformationAs seen in Rivals of Aether
TagsCompiler, yyc
1.4 Found In
2.x Runtime Found In9.9.1.1431
2.x Runtime Verified In2.2.3.332

Activities

YellowAfterlife

2019-05-10 18:30

Developer  

a_bug.yyz (19,249 bytes)

Russell Kay

2019-05-20 09:01

Manager   ~0063944

Fixed in gitlab