WALA/com.ibm.wala.cast.java.jdt..../source/com/ibm/wala/cast/java
Nicholas Chen eed055a69a Test case exemplifying Unexpected type: class com.ibm.wala.analysis.typeInference.JavaPrimitiveType
This is a simple test case that illustrates the issue with type inference
on a String + some primitive.

The code is

package javaonepointfive;

public class TypeInferencePrimAndStringOp {
  public static void main(String[] args) {
    int a = 2;
    String result = "a" + a;
  }
}
2013-03-29 17:21:06 -05:00
..
jdt/test switch to WALA code format. No semantic change. 2009-04-13 14:04:15 +00:00
test Test case exemplifying Unexpected type: class com.ibm.wala.analysis.typeInference.JavaPrimitiveType 2013-03-29 17:21:06 -05:00