Commit Graph

270 Commits

Author SHA1 Message Date
Pavel V. Talanov 187c90ed3b Update for the previous fix for class object's visibility. 2012-07-02 17:29:06 +04:00
Pavel V. Talanov 2975cda4d6 Fix a bug which caused class object's visibility to be ignored 2012-07-02 17:29:04 +04:00
Andrey Breslav 8611814bf4 Test data fixed 2012-06-26 23:25:52 +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
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 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
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
Stepan Koltsov 4d4a70cb83 test what happens if function is imported two times 2012-06-16 02:45:59 +04:00
Nikolay Krasko 0d46b394f3 Fix test 2012-06-15 21:26:11 +04:00
Alexander Udalov c110309bab test for KT-2212
#KT-2212 Fixed
2012-06-15 20:23:07 +04:00
Alexander Udalov efe70955dd dataFlowInfoTraversal tests 2012-06-15 17:06:41 +04:00
Svetlana Isakova bf05e8dd79 no error for elements with ide templates 2012-06-14 16:06:57 +04:00
Svetlana Isakova 8b1c76992f KT-2142 function local classes do not work
#KT-2142 fixed
except KT-2277 Check overloads for local declarations
2012-06-14 16:06:57 +04:00
Stepan Koltsov 6384ee9393 test imports in scripts 2012-06-13 22:32:36 +04:00
Svetlana Isakova 2f0278d63b KT-2262 Cannot access protected member from inner class of subclass
#KT-2262 fixed
2012-06-13 17:03:04 +04:00
Svetlana Isakova 2286022307 get rid of 'internal protected' visibility 2012-06-09 19:43:53 +04:00
Svetlana Isakova 74f4fde180 KT-2240 Wrong overload resolution ambiguity when object literal is involved
#KT-2240 fixed
2012-06-09 17:40:22 +04:00
Svetlana Isakova 58e4157c4d KT-2234 'period!!' has type Int?
#KT-2234 fixed
2012-06-09 13:33:25 +04:00
Svetlana Isakova 2971c1630e KT-2166 Control flow analysis doesn't detect that a 'while(true)' loop never terminates
KT-2103 Compiler requires return statement after loop which never exits
 #KT-2166 Fixed
 #KT-2103 Fixed
2012-06-09 13:33:25 +04:00
Svetlana Isakova 9ede882cd5 KT-2226 Parameter used as delegation by object marked as unused
#KT-2226 fixed
2012-06-09 13:33:25 +04:00
Svetlana Isakova e05c310cdb KT-2195 error "Only safe calls are allowed ..." but it is function param (val)
#KT-2195
2012-06-08 15:27:49 +04:00
Svetlana Isakova 9e0e0e92df inlined 'getType' method without 'DataFlowInfo' parameter 2012-06-07 19:42:37 +04:00
Andrey Breslav 91606a3901 Introduce 'reified' instead of 'erased' 2012-06-05 20:19:07 +04:00
Svetlana Isakova 0cd8534230 KT-2069 Cannot call super method when superclass has type parameters
#KT-2069 fixed
2012-06-04 18:56:48 +04:00
Andrey Breslav febb3c6a3d Recovery set extended
#KT-2172 Fixed
2012-06-04 18:44:09 +04:00
Svetlana Isakova 7dab62ec97 KT-2125 Inconsistent error message on UNSAFE_CALL
#KT-2125 fixed
2012-05-31 14:17:48 +04:00
Nikolay Krasko b767e1a8a6 Failure after typing empty import 2012-05-30 17:09:46 +04:00
Svetlana Isakova 84d60b8baa check deeply inner local declarations added 2012-05-28 15:21:40 +04:00
Svetlana Isakova b6b1ce52e1 tests changed:
added check for unused/uninitialized variables inside local and anonymous functions
2012-05-28 12:06:13 +04:00
Svetlana Isakova f03ce0795e KT-2096 Abstract property with no type specified causes compiler to crash
#KT-2096 fixed
2012-05-25 14:04:32 +04:00
Svetlana Isakova 0fd882741b function invocation with only type parameters prohibited 2012-05-23 22:04:22 +04:00
Svetlana Isakova b22a7dbf99 KT-2014 Better diagnostic when using property syntax to call a method
#KT-2014 fixed
2012-05-23 21:53:17 +04:00
Stepan Koltsov d6bf8876a3 analyze kotlin scripts 2012-05-23 02:52:29 +04:00
Svetlana Isakova b63d3905f9 KT-1256 Error highlighting in IDE should be less annoying
#KT-1256 fixed
2012-05-22 18:23:51 +04:00
Svetlana Isakova c2385407e0 KT-1942 Package local members from Java are visible in subclasses
#KT-1942 fixed
2012-05-21 18:32:19 +04:00
Svetlana Isakova 2d601cf4a2 Frontend part of KT-910 Type of try/catch/finally 2012-05-18 15:20:37 +04:00
Svetlana Isakova b49fa2ab82 KT-1977 Wrong 'unused expression' in catch
#KT-1977 fixed
2012-05-18 15:19:38 +04:00