forked from JavaTX/JavaCompilerCore
Bug 72 gefixt
This commit is contained in:
parent
a0de7a4467
commit
bb5a4e8580
@ -832,7 +832,7 @@ public class StatementGenerator {
|
||||
}else if(literal.StringLiteral()!=null){
|
||||
RefType type = new RefType(reg.getName("java.lang.String"),literal.getStart());
|
||||
return new Literal(type,
|
||||
literal.StringLiteral().getText(),
|
||||
literal.StringLiteral().getText().substring(1, literal.StringLiteral().getText().length()-1),
|
||||
literal.getStart());
|
||||
}else if(literal.NullLiteral() != null){
|
||||
return new Literal(TypePlaceholder.fresh(literal.getStart()), null,
|
||||
|
Loading…
Reference in New Issue
Block a user