Commit Graph

6232 Commits

Author SHA1 Message Date
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
Stepan Koltsov ea0c68929a Revert "jdr: merge resolveMethod* methods, use DescriptorPredicate"
This reverts commit a87f3e2a45.
2012-06-18 20:50:05 +04:00
Stepan Koltsov fbab0b742c Revert "smarter JavaClassOrPackageScope#getAllDescriptors"
This reverts commit 010db0495b.
2012-06-18 20:49:55 +04:00
Stepan Koltsov 7deeb354a2 Revert "use the power of DescriptorPredicate in completion"
This reverts commit 65b74a19b4.
2012-06-18 20:49:47 +04:00
Stepan Koltsov efe550ee8f Revert "add JetScope.getAllDescriptors for KDoc"
This reverts commit 5e2521046c.
2012-06-18 20:49:37 +04:00
Stepan Koltsov 40c0bd9d89 Revert "frontend: base class for JetScope implementations"
This reverts commit b33fc76c12.
2012-06-18 20:42:46 +04:00
Stepan Koltsov 5e1e685d69 Revert "jdr: properly fetch supertype member names"
This reverts commit 9b13a308f8.
2012-06-18 20:42:33 +04:00
Stepan Koltsov a1dfcfc55d Revert "frontend: optimize DescriptorPredicate.asNamePredicate"
This reverts commit 554a54bcc5.
2012-06-18 20:42:16 +04:00
Stepan Koltsov 996a3d0475 Revert "idea: do not call prefix matcher in loop if prefix is empty"
This reverts commit b0f98711a0.
2012-06-18 20:42:08 +04:00
Stepan Koltsov 3533107cfe Revert "move filtering logic to NamePredicateUtils"
This reverts commit e7d957436b.
2012-06-18 20:41:58 +04:00
Nikolay Krasko 7b4fda4345 Don't create namespace class for file if codegen won't do so 2012-06-18 16:08:05 +04:00
Sergey Lukjanov d94f90a0de Replace deprected 'rename' task with 'move' task 2012-06-18 15:25:06 +04:00