Anna.Kozlova
1fc76eb779
calc types by applicability constraints if inference fails
...
include all inference variables for resolve and ignore additional constraints checks if the inference is going to failure; this way if (expr()) would get type of the 'standalone' expression instead of expression with boolean as expected type
2017-12-07 15:51:06 +01:00
Anna Kozlova
be2db1f940
new inference: report inference errors of containing call for lambdas
2015-11-20 21:47:13 +01:00
Anna Kozlova
bd681beb26
new inference: 18.5.2 adjustments
2014-02-19 09:46:15 +01:00
Anna Kozlova
19ba9d8c8d
new inference: resolve
2014-02-19 09:46:05 +01:00
Anna Kozlova
b16df9509f
new inference: lift type parameters; stop inference after false appears in bounds
2014-02-12 12:55:47 +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
5ba5425a54
lambda: infer from return type; cyclic inference stop
2012-08-13 11:29:40 +04:00