forked from JavaTX/JavaCompilerCore
Merge branch 'targetBytecode' of ssh://gitea.hb.dhbw-stuttgart.de:2222/JavaTX/JavaCompilerCore into targetBytecode
This commit is contained in:
commit
d405b0c3a2
@ -34,6 +34,11 @@ public class SyntacticSugar {
|
|||||||
public void visit(ReturnVoid aReturn) {
|
public void visit(ReturnVoid aReturn) {
|
||||||
hasReturn = true;
|
hasReturn = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public void visit(LambdaExpression le) {
|
||||||
|
//PL 2024-04-09 Do nothing, as in a LambdaExpression a return could be
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private static boolean hasReturn(Block block) {
|
private static boolean hasReturn(Block block) {
|
||||||
|
Loading…
Reference in New Issue
Block a user