Svetlana Isakova
077f0084bd
test for kt-702 added
...
#KT-702 fixed
2012-08-01 17:03:52 +04:00
Pavel V. Talanov
b216bbb844
KT-619 Type inference fails
...
#KT-619 Fixed
2012-07-24 15:53:39 +04:00
Svetlana Isakova
a4bb47a73f
type inference with functional literal params changed
...
if there are function literals without declared parameter types,
try adding constraint with current substituted result first (known type parameters),
if there is error, try adding constraint with 'dont_care' substitution
2012-07-20 19:34:55 +04:00
Svetlana Isakova
b161b6bfbf
added error TYPE_INFERENCE_EXPECTED_TYPE_MISMATCH
2012-07-20 19:34:54 +04:00
Svetlana Isakova
e3d2b013da
added tests for specific type inference errors
2012-07-20 19:34:54 +04:00
Svetlana Isakova
fd04717ecc
added 'hasErrorInConstrainingTypes'
...
not to report type inference error in such cases
2012-07-20 19:34:54 +04:00
Svetlana Isakova
1002324ad6
regenerated diagnostics tests
2012-07-20 19:34:52 +04:00
Svetlana Isakova
3739301566
TYPE_INFERENCE_FAILED changed in tests
...
to concrete type inference error
2012-07-20 19:34:52 +04:00
Svetlana Isakova
eb82eba121
tests for type inference
...
#KT-1800 fixed
#KT-1029 fixed
#KT-1031 fixed
#KT-1558 fixed
#KT-1944 fixed
#KT-2179 fixed
#KT-2294 fixed
#KT-2320 fixed
#KT-2324 fixed
2012-07-20 19:34:51 +04:00
Andrey Breslav
3d8d92c7d3
JetDiagnosticsTest migrated to TestGenerator
...
- test data files renamed from *.jet to *.kt
2012-07-10 14:48:11 +04:00
Alex Tkachman
ffbce7fe1e
KT-1589: Array<T>(size) renamed to arrayOfNulls
2012-04-02 14:30:37 +03:00
Stepan Koltsov
07ff53d456
add trailing newlines to test files
...
otherwise I have to rollback dozens of files after using sed that follows conventions
2012-03-12 22:54:14 +04:00
Svetlana Isakova
05dfdc7377
KT-1293 Kompiler doesn't show error when element of Array<Int?> is assigned to Int
2012-02-20 17:31:08 +04:00
Andrey Breslav
683e511cf3
OverloadResolutionResult is returned from CallResolver instead of descriptors. This makes more information availbale to the caller (useful for better diagnostics).
2011-12-16 13:09:40 +04:00
Andrey Breslav
0a2108d4d0
Constraint priorities integrated
2011-12-16 13:09:28 +04:00