mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-28 22:59:03 +01:00
Reenable error for gotos into or out of finally blocks.
This commit is contained in:
@@ -772,7 +772,7 @@ void AsmBlockStatement::toIR(IRState* p)
|
||||
sw->addCase(llvm::ConstantInt::get(llvm::IntegerType::get(32), it->second), casebb);
|
||||
|
||||
p->scope() = IRScope(casebb,bb);
|
||||
DtoGoto(loc, it->first);
|
||||
DtoGoto(loc, it->first, enclosingFinally);
|
||||
}
|
||||
|
||||
p->scope() = IRScope(bb,oldend);
|
||||
|
||||
Reference in New Issue
Block a user