Commit Graph

6243 Commits

Author SHA1 Message Date
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
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
Alexander Udalov 2b6927ad3b reorder logic in checkBinaryWithTypeRHS 2012-06-19 16:26:04 +04:00
Alexander Udalov 646451ae96 test for KT-2216 2012-06-19 16:25:03 +04:00
Alexander Udalov b43e17a7b0 keep DataFlowInfo if resulting type of an expression is DeferredType 2012-06-19 16:25:01 +04:00
Alexander Udalov 85760405dc fix tests 2012-06-19 16:24:59 +04:00
Alexander Udalov 9db65d21b6 checkValueArgumentTypes calculates DataFlowInfo during type checking 2012-06-19 16:24:53 +04:00
Alexander Udalov be65a9404a checkValueArgumentTypes processes arguments in the right order 2012-06-19 16:24:01 +04:00
James Strachan 071e276e08 started compiling more of the kotlin library to JS; now testing the String methods in JS 2012-06-19 07:23:42 -05:00
Alexander Udalov 722ac198fe getCallExpressionTypeInfo calculates common DataFlowInfo of all arguments in call expression 2012-06-19 16:22:49 +04:00
Alexander Udalov 33f0ff3eeb BindingContext.EXPRESSION_DATA_FLOW_INFO 2012-06-19 16:22:47 +04:00
Alexander Udalov ec7efdfee2 ExpressionTypingServices.getTypeInfo() 2012-06-19 16:22:45 +04:00
Alexander Udalov 845c3198bd KT-2164 !! does not propagate nullability information 2012-06-19 16:22:43 +04:00
Sergey Lukjanov d777313132 Replace deprected 'rename' task with 'move' task 2012-06-19 16:22:41 +04:00
Nikolay Krasko 33b5e46201 Merge pull request #79 from Frostman/ant-rename-deprecated
Replace deprecated 'rename' task with 'move' task
2012-06-19 05:20:59 -07:00
Stepan Koltsov 11f2a98032 revert "DescriptorMatcher" 2012-06-18 20:53:55 +04:00
Stepan Koltsov e5481d5956 Revert "smarter WritableScopeImpl.getAllDescriptors"
This reverts commit 4d229144cf.
2012-06-18 20:50:18 +04:00