Fix compile errors after rebasing on master (missing switch->else)

master
Merlyn Morgan-Graham 2019-12-16 01:37:53 -08:00
parent 89ef635b35
commit 0c03fe48b3
1 changed files with 6 additions and 0 deletions

View File

@ -1254,6 +1254,8 @@ fn transBoolExpr(
.OCLIntelSubgroupAVCImeSingleRefStreamin,
.OCLIntelSubgroupAVCImeDualRefStreamin,
=> return res.node,
else => {},
}
},
.Pointer => return transCreateNodeNotEqual(rp, scope, res.node, try transCreateNodeNullLiteral(rp.c)),
@ -1316,6 +1318,8 @@ fn transBoolExpr(
.Typename,
.None,
=> return res.node,
else => {},
}
},
@ -1363,6 +1367,8 @@ fn transBoolExpr(
.DependentVector,
.MacroQualified,
=> return res.node,
else => unreachable,
}
unreachable;