Commit Graph

850 Commits

Author SHA1 Message Date
Andrey Breslav 8611814bf4 Test data fixed 2012-06-26 23:25:52 +02:00
Andrey Breslav 0c910dba8b Supporting (predefined) classifier aliases in Lazy Resolve 2012-06-26 23:23:06 +02:00
Andrey Breslav ceafb5ddaf Using a function type in a supertype list removed from the test 2012-06-26 23:13:54 +02:00
Andrey Breslav ac06825f08 jet.Any: modality and constructor straightened 2012-06-26 23:13:53 +02:00
Evgeny Gerashchenko ee1f1f3d56 Added check for extra and missing upper bounds in alternative signatures. 2012-06-27 00:44:14 +04:00
Evgeny Gerashchenko 2840f6d3ba Added checking for function name in alternative signature. 2012-06-27 00:44:10 +04:00
Evgeny Gerashchenko d897ba754d Added checking for missing return type in alternative signature. 2012-06-27 00:44:09 +04:00
Evgeny Gerashchenko f0857d0081 Added checking type parameters count in alternative signatures. 2012-06-27 00:44:09 +04:00
Evgeny Gerashchenko d9127fc34b Added prohibiting adding of nullability in alternative signatures. 2012-06-27 00:44:09 +04:00
Evgeny Gerashchenko a02ab2b348 Added checking for same variance in alternative signatures. 2012-06-27 00:44:08 +04:00
Evgeny Gerashchenko 178a10716b Added checking vararg/not vararg in alternative signatures. 2012-06-27 00:44:08 +04:00
Evgeny Gerashchenko a2066ab0ab Added checking for FQ name prefixes in alternative signatures. Added tests. 2012-06-27 00:44:07 +04:00
Evgeny Gerashchenko a72017546b Updated MethodWithGenerics test, replacing Map.Entry with Entry (this must work). 2012-06-27 00:44:07 +04:00
Evgeny Gerashchenko de83e93f28 Added checks for type arguments numbers in alternative signatures. Added tests. 2012-06-27 00:44:07 +04:00
Evgeny Gerashchenko 1649b208cb Added check for value parameters number in alternative signatures loading. 2012-06-27 00:44:06 +04:00
Andrey Breslav fe394b9827 Set return type for the fake constructor of a class object 2012-06-26 18:00:23 +02:00
Andrey Breslav dea6c452a0 Test classes regenerated with new data 2012-06-26 17:51:16 +02:00
Andrey Breslav b3272feb63 Lazy resolve passes DescriptorRenderer tests except for the Enum case 2012-06-26 17:51:15 +02:00
Andrey Breslav 036981f368 Test renamed, test data moved 2012-06-26 17:51:15 +02:00
Svetlana Isakova 190360b1d4 EA-35501 fixed (checkBackingField assert) 2012-06-22 19:02:03 +04:00
Svetlana Isakova 53b59ce152 EA-36814. Do not repeat annotations resolve
for primary constructor parameters as properties
(annotations are already resolved for parameters themselves)
2012-06-22 17:26:29 +04:00
Svetlana Isakova a66771ba42 Merge pull request #85 from udalov/kt2146
Kt2146
2012-06-22 05:23:08 -07:00
Alexander Udalov 28b150892a "!is" now works correctly in when-clauses 2012-06-22 15:51:13 +04:00
Alexander Udalov 3f4e2514ea extract DataFlowInfo from when-condition + more tests for kt2146 2012-06-22 13:18:45 +04:00
Alexander Udalov b5ba7123d5 KT-2146 Nullability casts in when.
#KT-2146 Fixed
2012-06-21 22:38:13 +04:00
Alexander Udalov 38fc57ae42 Pass DataFlowInfo through when-conditions 2012-06-21 22:38:11 +04:00
Alexander Udalov d54e117b19 KT-2176 non-nullability is not inferred after !! or "as"
#KT-2176 Fixed
2012-06-21 16:46:42 +04:00
Alexander Udalov d67e22b174 KT-2223 Comparing non-null value with null might produce helpful warning
#KT-2223 Fixed
2012-06-20 20:33:58 +04:00
Evgeny Gerashchenko aed160e02a Enabled ClassWithTypePExtendsIterableP in ReadJavaBinaryClassTest, disabled attaching jdk-headers in lazy resolve tests. 2012-06-20 20:26:03 +04:00
Evgeny Gerashchenko 1d16f46211 Revert "Fixed CliTest."
This reverts commit 43ddf37685.
2012-06-20 20:24:16 +04:00
Evgeny Gerashchenko 43ddf37685 Fixed CliTest. 2012-06-20 20:23:17 +04:00
Evgeny Gerashchenko 95249099eb KT-2279 Setter generated for abstract var is not abstract
#KT-2279 fixed
2012-06-20 19:15:41 +04:00
Evgeny Gerashchenko 0dd64837c0 Added checking for unresolved templates in CLI. Added test. 2012-06-20 18:58:24 +04:00
Evgeny Gerashchenko c4b0522c42 Removed UNRESOLVED_IDE_TEMPLATE diagnostic factory, since this check will be moved to CLI. 2012-06-20 18:58:23 +04:00
Alexander Udalov c613b991bf KT-2109 Nullability inference fails in extension function
#KT-2109 Fixed
2012-06-20 14:26:39 +04:00
Evgeny Gerashchenko 9e727623c2 Fixed accessing namespace private members from inner classes. Added test. 2012-06-19 22:47:58 +04:00
Evgeny Gerashchenko e8f15027e9 Added tests for loading private top-level members from compiled code. 2012-06-19 22:47:58 +04:00
Evgeny Gerashchenko 5ecfd71611 Private outer functions are now accessed via bridge methods. Added tests. 2012-06-19 22:36:03 +04:00
Alexander Udalov 0734534e58 test for qualified expression nullability 2012-06-19 16:26:55 +04:00
Alexander Udalov 646451ae96 test for KT-2216 2012-06-19 16:25:03 +04:00
Alexander Udalov 85760405dc fix tests 2012-06-19 16:24:59 +04:00
Alexander Udalov 845c3198bd KT-2164 !! does not propagate nullability information 2012-06-19 16:22:43 +04:00
Evgeny Gerashchenko ba92ce2172 Added protected top-level class and trait into front-end tests. 2012-06-16 19:38:21 +04:00
Evgeny Gerashchenko 86c8e4bf18 Tests for KT-1714 Reference to function is generated with private getter method
#KT-1714 fixed
2012-06-16 19:38:21 +04:00
Evgeny Gerashchenko e45833b213 Test for KT-2197 Reference to function is generated with private getter method
#KT-2197 fixed
2012-06-16 19:38:21 +04:00
Evgeny Gerashchenko 6a56cf04cb Test for KT-2155 Run-time error accessing internal value from other package
#KT-2155 fixed
2012-06-16 19:38:20 +04:00
Evgeny Gerashchenko 258623cb5f Added tests cases for internal visibility in ReadKotlinBinaryClass 2012-06-16 19:38:20 +04:00
Evgeny Gerashchenko 085b9704b8 Added checking for overridden properties number in NamespaceComparator. 2012-06-16 19:38:20 +04:00
Evgeny Gerashchenko 4fd520f2ea Updated test data for some of lazy resolve tests. 2012-06-16 19:38:20 +04:00
Evgeny Gerashchenko 70a8151e87 Regenerated test data for ReadJavaBinaryClassTest. 2012-06-16 19:38:19 +04:00