forked from JavaTX/JavaCompilerCore
Problem mit String Literal behoben
This commit is contained in:
parent
f0ef3017b9
commit
0345dceb8e
@ -137,7 +137,7 @@ public class StringLiteral extends Literal
|
||||
|
||||
@Override
|
||||
public ConstraintsSet TYPEExpr(TypeAssumptions assumptions) {
|
||||
this.set_Type(new RefType("String",0));
|
||||
this.set_Type(assumptions.getTypeFor(new RefType("String",0)));
|
||||
return new ConstraintsSet();
|
||||
}
|
||||
|
||||
|
@ -11,7 +11,8 @@ public class LambdaTest1 {
|
||||
@Test
|
||||
public void run(){
|
||||
Vector<String> mustContain = new Vector<String>();
|
||||
mustContain.add("Fun0<Fun1<String, Fun2<G, LambdaTest, String>>> op");
|
||||
|
||||
mustContain.add("Fun0<Fun1<java.lang.String, Fun2<AH, LambdaTest, java.lang.String>>> op");
|
||||
MultipleTypesInsertTester.test(this.TEST_FILE, mustContain);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user