Commit Graph

3 Commits

Author SHA1 Message Date
Tagir Valeev
9c6aeba5b4 [java] More tests for preview; minor fixes
GitOrigin-RevId: 7f72c5f68ab821e728eb0d5152f0910f48035046
2022-07-22 11:54:00 +00:00
Anna Kozlova
f7fbc4b4bc anonymous -> lambda: accept anonymous classes with inferred another type and ref to a parameter as the cast would be inserted (IDEA-157457) 2016-06-15 13:44:38 +03:00
Anna Kozlova
a46f4cef52 anonym -> lambda: disable in case when inferred type differs from type of anonymous class and parameter of param type is used inside (IDEA-127603);
BTW param.toString would be also rejected
2014-07-21 17:56:21 +02:00