forked from JavaTX/JavaCompilerCore
Fixed return type to make code parsable for ObjectiF
This commit is contained in:
parent
810164ac17
commit
b395f6e137
@ -131,7 +131,7 @@ public class StatementGenerator {
|
||||
return new Block(statements, block.getStart());
|
||||
}
|
||||
|
||||
private de.dhbwstuttgart.syntaxtree.statement.Statement convert(Java8Parser.BlockStatementContext statementContext) {
|
||||
private Statement convert(Java8Parser.BlockStatementContext statementContext) {
|
||||
List<de.dhbwstuttgart.syntaxtree.statement.Statement> ret = new ArrayList<>();
|
||||
if(statementContext.localVariableDeclarationStatement() != null){
|
||||
return convert(statementContext.localVariableDeclarationStatement());
|
||||
|
Loading…
Reference in New Issue
Block a user