Commit Graph

6660 Commits

Author SHA1 Message Date
Evgeny Gerashchenko 46879e5a26 Moved args into test data of cli tests. 2013-11-21 17:37:35 +04:00
Andrey Breslav 054ecdaa6c More info in the assert message 2013-11-21 13:07:39 +04:00
Andrey Breslav 345ecbf4c0 Never import object descriptors, for they may overwrite corresponding vals 2013-11-21 13:07:39 +04:00
Andrey Breslav dbd12b0c60 More information in debug message: file name 2013-11-21 13:07:38 +04:00
Andrey Breslav d9444fea09 printScopeStructure() introduced for debugging 2013-11-21 13:07:38 +04:00
Andrey Breslav af68739e69 More information in assert message 2013-11-21 13:07:38 +04:00
Andrey Breslav a0b09ae590 Optimization: don't check when there's nothing to check or report 2013-11-21 13:07:37 +04:00
Andrey Breslav ce496c4512 More info in assert 2013-11-21 13:07:37 +04:00
Andrey Breslav 301bcebaf1 Unnecessarily specific cast weakened 2013-11-21 13:07:37 +04:00
Andrey Breslav d2a9cd7b43 Render types with renderer 2013-11-21 13:07:37 +04:00
Andrey Breslav 083644ea43 Support parameter annotations. Fix class path and test data 2013-11-21 13:07:36 +04:00
Andrey Breslav 9e446373e3 Old JDR and test data fixed 2013-11-21 13:07:35 +04:00
Andrey Breslav 80c281bcd3 Unnecessary downcast removed 2013-11-21 13:07:35 +04:00
Andrey Breslav 0c2e1fb806 @NotNull annotations on descriptor classes 2013-11-21 13:07:34 +04:00
Andrey Breslav a7b50d7d06 Remove rependency on annotations-ext.jar 2013-11-21 13:07:33 +04:00
Andrey Breslav bfbb200ba8 Only render exact function types in special syntax 2013-11-21 13:05:39 +04:00
Alexey Sedunov 9f5ee13c20 Implement "Merge when" intention 2013-11-20 20:55:58 +04:00
Evgeny Gerashchenko 32a2f98c74 Minor. Reused util method. 2013-11-20 19:33:27 +04:00
Mikhael Bogdanov 3caa410e06 OverloadResolutionResultsImpl param substituted with ResolvedCall in callResolverExtension 2013-11-20 16:32:08 +04:00
Mikhael Bogdanov afa09caa0f Added AnnotationContext flag 2013-11-20 16:32:07 +04:00
Evgeny Gerashchenko 9ba3e39cf0 Removed useless method. 2013-11-19 18:05:29 +04:00
Evgeny Gerashchenko 6e19b98997 Unified resolve and multiResolve for references. 2013-11-19 18:05:29 +04:00
Alexey Sedunov f36743e8b8 Recover suppress annotation 2013-11-19 13:09:48 +04:00
Natalia Ukhorskaya 0302c591f2 Fix android tests: classObjectToString test should be excluded 2013-11-19 12:05:27 +04:00
Natalia Ukhorskaya d241bfc138 KT-3517 Can't call .equals() on a boolean
#KT-3517 Fixed
2013-11-19 12:05:26 +04:00
Alexey Sedunov 8792ea8b1b Remove "suppress" from top level to fix build error 2013-11-18 20:31:12 +04:00
Alexander Udalov 6f31692996 Import nested classes both from classes and their class objects
It seems that this incorrect behaviour was introduced in 726bcb5
2013-11-18 19:51:29 +04:00
Alexander Udalov e2622b5dbb Resolve extension calls on class objects
#KT-3470 Fixed
2013-11-18 19:51:29 +04:00
Alexander Udalov 838c408e68 LHS of qualified expressions are determined manually
ExpressionPosition is useless now and will be dropped

 #KT-3866 Fixed
2013-11-18 19:51:28 +04:00
Alexander Udalov e8089cc461 Synthetic class object of enum should always be public
#KT-2834 Fixed
2013-11-18 19:46:01 +04:00
Alexey Sedunov 523e44f00d Annotate JetVisitorVoid and its inheritors 2013-11-18 18:49:30 +04:00
Alexey Sedunov 05d9cbd67d Translate WhenUtils to Kotlin 2013-11-18 18:49:22 +04:00
Alexey Sedunov 6b971fa50c Implement custom TargetElementEvaluator KT-4190 #Fixed 2013-11-18 18:33:33 +04:00
Andrey Breslav 38b38e7b6d KT-4198 On covariant projection, do not throw whole var's away
#KT-4198 Fixed
2013-11-18 18:30:41 +04:00
Andrey Breslav 7bc8f9f5ff Test data fixed 2013-11-18 16:38:45 +04:00
Andrey Breslav c0fce6becd KT-4209 Make constructors of primitives private
#KT-4209 Fixed
2013-11-18 15:09:56 +04:00
Zalim Bashorov 59e47a5f77 Normalize paths in output in integration-tests. 2013-11-17 03:21:55 +04:00
Andrey Breslav 0c1c0e0099 Always generate local variable table to preserve parameter names 2013-11-15 19:41:25 +04:00
Nikolay Krasko 4348678cea Add light parameters for functions 2013-11-15 19:41:23 +04:00
Nikolay Krasko 3d3464d163 Wrap cls-methods with kotlin prototypes 2013-11-15 19:41:11 +04:00
Nikolay Krasko aa91ae6843 Common class for Kotlin light classes with returning light elements for methods and fields 2013-11-15 19:41:08 +04:00
Nikolay Krasko 6aeaceae8d Refactoring: Rename JetClsMethod -> JetPsiMethodWrapper
Source element in Kotlin mustn't be wrapped into read-only class-elements
2013-11-15 19:05:47 +04:00
Zalim Bashorov bfa79efaf3 BuildTools: added tests for ant task Kotlin2JsCompilerTask. 2013-11-15 15:17:59 +04:00
Alexander Udalov 776b5d0a6e Minor, move enum diagnostic tests, add another test 2013-11-14 19:11:20 +04:00
Alexander Udalov 76e347e530 Minor, rename method 2013-11-14 19:11:20 +04:00
Alexander Udalov 8c3f9149ac Add a test on extension function to object 2013-11-14 19:11:20 +04:00
Alexander Udalov 69ed375ce1 Extract SpecialNames utility class 2013-11-14 19:11:19 +04:00
Alexander Udalov d6aa7c2d23 Minor, inline method 2013-11-14 19:11:19 +04:00
Alexander Udalov ac248f2d46 Minor refactorings in codegen tests
Unindent code, get rid of warnings, etc.
2013-11-14 19:11:18 +04:00
Alexander Udalov a35f285bcf Disable "UseOfSystemOutOrSystemErr" inspection in tests 2013-11-14 19:11:18 +04:00