Thank you for making this brilliant plugin.
I've noticed a bug. Try the following code -- it claims to compile, but breaks class loading at runtime. This is using Java 7 on Ubuntu Linux.
Map<String, BigInteger> map = new HashMap<>();
map.put("a",BigInteger.valueOf(2));
BigInteger a2 = map["a"] * map["a"];
Note that if you add casts, e.g. BigInteger a2 = ((BigInteger)map["a"]) * ((BigInteger)map["a"]); it works fine.
Thank you for making this brilliant plugin.
I've noticed a bug. Try the following code -- it claims to compile, but breaks class loading at runtime. This is using Java 7 on Ubuntu Linux.
Note that if you add casts, e.g.
BigInteger a2 = ((BigInteger)map["a"]) * ((BigInteger)map["a"]);it works fine.