Problem mit String Literal behoben

This commit is contained in:
JanUlrich 2014-04-15 12:07:42 +02:00
parent f0ef3017b9
commit 0345dceb8e
2 changed files with 3 additions and 2 deletions

View File

@ -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();
}

View File

@ -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);
}