Commit Graph

6258 Commits

Author SHA1 Message Date
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
James Strachan 32e0b06de1 added location information for when the assertion fails 2012-06-22 14:25:26 +01: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
Svetlana Isakova e4e69fd9eb Merge pull request #84 from udalov/kt2176
KT-2176 non-nullability is not inferred after !! or "as"
2012-06-22 04:24:47 -07:00
Alex Tkachman 744fa1ed2f fix for test broken on windows 2012-06-22 13:01:30 +03:00
Alexander Udalov 3f4e2514ea extract DataFlowInfo from when-condition + more tests for kt2146 2012-06-22 13:18:45 +04:00
Alex Tkachman c1802e2360 breakpoints for multi-file namespaces 2012-06-22 11:55:16 +03: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
Nikolay Krasko 1ae1f13821 Filter creating stub elements 2012-06-21 20:59:35 +04:00
Nikolay Krasko aa2cf2e1dd Remove ILightStubElementType implementations for now 2012-06-21 20:59:34 +04:00
Natalia.Ukhorskaya 9dfccddd6b KT-2231Fixed: No executable code for a super-call 2012-06-21 19:43:59 +04:00
James Strachan 1c26d7212f added some documentation on how the JavaScript generation and testing of the standard library works 2012-06-21 16:12:23 +01:00
James Strachan 8a6b752357 refactored the standard library so most of the collection APIs in the standard library can be compiled to JS 2012-06-21 15:53:39 +01: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
Nikolay Krasko da31a9696c - Value parameters stubs
- ToString methods for stubs
- Some test fro stub tree construction
2012-06-21 14:45:51 +04:00
Svetlana Isakova 13382f7828 Merge pull request #83 from udalov/kt2223
KT-2223 Comparing non-null value with null might produce helpful warning
2012-06-20 09:42:25 -07: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 edb293eca9 Fixed CliTest. 2012-06-20 20:25:18 +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 4e6291b6ce Fixed CliTest. 2012-06-20 20:07:43 +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 ee5aab228b Made accessor methods for private methods used in inner classes package-private. 2012-06-20 18:58:24 +04:00
Evgeny Gerashchenko 0dd64837c0 Added checking for unresolved templates in CLI. Added test. 2012-06-20 18:58:24 +04:00
Evgeny Gerashchenko ccc8c77526 Renamed JetIdeTemplateExpression to JetIdeTemplate and made not a subtype of JetExpression. Fixed corresponding tests. 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
Evgeny Gerashchenko a7596a81e6 Renamed JetIdeTemplateExpression.getText() to getPlaceholderText() to avoid confusing. 2012-06-20 18:58:23 +04:00
Nikolay Krasko e2a3ada02d Stub for JetProperty 2012-06-20 18:47:13 +04:00
Nikolay Krasko f8371c1aa5 Check all files have same package 2012-06-20 16:23:37 +04:00
Nikolay Krasko 4b77268b21 Stub for JetTypeParameterList element 2012-06-20 15:48:13 +04:00
Svetlana Isakova ae885827ba Merge pull request #82 from udalov/kt2109
KT-2109 Nullability inference fails in extension function
2012-06-20 04:39:17 -07: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 f0430969e0 Updated some tests after supporting private top-level members in backend. 2012-06-19 22:47:58 +04:00
Evgeny Gerashchenko 8cc0d96430 KT-1727 Supported private namespace members in compiled Kotlin 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
Evgeny Gerashchenko 993aecbc94 Replaced duplicating code with CodegenUtil.getFlagsForVisibility() invocation. 2012-06-19 22:22:35 +04:00
Nikolay Krasko a3649c47c0 JetTypeParameter stub 2012-06-19 21:45:30 +04:00
Nikolay Krasko 8df1f1b125 Use NamedStub and move stubbed getName implementation to base class 2012-06-19 19:14:35 +04:00
Nikolay Krasko 2622541e61 Copy private members of ITNReporter to be able report errors from Kotlin Plugin 2012-06-19 17:22:39 +04:00
James Strachan 0a3809fa2e disabled a failing unit test for JS generation (will re-enable soon...) and made the generated QUnit test code work with many test classes 2012-06-19 08:12:28 -05:00
Svetlana Isakova 8472f71d46 Merge pull request #81 from udalov/kt2164
KT-2164 & KT-2216
2012-06-19 06:02:21 -07:00
Alexander Udalov 1c599efbcd pass correct DataFlowInfo through qualified expressions
#KT-2216 Fixed
 #KT-2164 Fixed
2012-06-19 16:27:55 +04:00
Alexander Udalov 0734534e58 test for qualified expression nullability 2012-06-19 16:26:55 +04:00
Alexander Udalov 651709bcc9 more methods return JetTypeInfo instead of JetType 2012-06-19 16:26:53 +04:00
Alexander Udalov baf3ab2aa5 pass DataFlowInfo in checkBinaryWithTypeRHSExpression 2012-06-19 16:26:47 +04:00