calculate the block return type also for simple BLOCKs

This commit is contained in:
Volker Berlin 2021-11-21 16:29:10 +01:00
parent 66172e593f
commit c9e34715c9

View File

@ -1586,7 +1586,7 @@ class BranchManger {
} }
switch( startBlock.getOperation() ) { switch( startBlock.getOperation() ) {
case IF: case IF:
// case BLOCK: case BLOCK:
try { try {
ArrayDeque<AnyType> stack = new ArrayDeque<>(); ArrayDeque<AnyType> stack = new ArrayDeque<>();
stack.push( ValueType.empty ); stack.push( ValueType.empty );