Commit Graph

16 Commits

Author SHA1 Message Date
Anna Kozlova
fc288cf04d new inference: don't add primitive equals bounds 2015-11-24 20:00:29 +01:00
Anna Kozlova
138bd5a034 new inference: provide diagnostics on failed inference (strict subtyping constraints); don't resolve vars before incorporate - this way captures won't be opened too early 2015-11-24 10:30:21 +01:00
Anna Kozlova
af7da7a8f4 incompatible parameter types in lambda expression message expanded (IDEA-134941) 2015-01-07 17:10:09 +01:00
Anna Kozlova
8ce9831489 bad return type in lambda expression: requited type added; range corrected (IDEA-134942) 2015-01-07 16:07:27 +01:00
Anna Kozlova
a4deb4da3d new inference: isAcceptable for lambda 2014-02-20 20:27:40 +01:00
anna
481bc252f3 switch tests on new inference
(cherry picked from commit d2cbf3f2833104c3a0381059b0d6ef8ac0b3c94c)
2013-11-25 16:47:38 +01:00
anna
f5257087e9 new inference: overload resolution for SAM return type for implicit lambda should be ignored 2013-09-25 16:12:44 +02:00
Anna Kozlova
e78ab513a5 lambda: check formal params for equality, eliminate wildcards during inference according to 15.27.3 2013-09-23 19:50:41 +04:00
Roman Shevchenko
2ab88505d2 Annotation applicability highlighting reworked 2013-03-13 10:23:19 +01:00
Anna Kozlova
f73177c04e lambda: correct message when lambda params are incompatible (IDEA-91016) 2012-09-04 21:05:05 +04:00
Anna Kozlova
4692f23230 lambda: forbid inference method params types from return value 2012-08-22 15:46:13 +04:00
Anna Kozlova
5ba5425a54 lambda: infer from return type; cyclic inference stop 2012-08-13 11:29:40 +04:00
anna
c3276bd56e lambda: return type checks initial 2012-07-20 18:59:18 +02:00
anna
812b9a72ea lambda: initial is assignable check; effectively final; acceptable context 2012-07-19 21:18:30 +02:00
anna
f90fadbd52 lambda: infer lambda param types in method call, return statement context 2012-07-19 18:44:23 +02:00
anna
5bb4a61bb9 lambda: inference param types for assignment and cast context 2012-07-19 12:15:41 +02:00