Commit Graph

12884 Commits

Author SHA1 Message Date
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 c63265bd69 Translate RemoveUnnecessaryParenthesesIntention and apply refactoring 2013-11-18 18:53:37 +04:00
Alexey Sedunov a24ee8745c Merge WhenUtils with IfWhenUtils 2013-11-18 18:49:46 +04:00
Alexey Sedunov 167ec19e35 Translate IfWhenUtils to Kotlin 2013-11-18 18:49:38 +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 72f4ae3a13 Translate intention classes to Kotlin and apply refactoring 2013-11-18 18:33:34 +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
Valentin Kipyatkov 3fe55c997f Smart completion: changed test data to use Any instead of Object 2013-11-18 17:54:09 +04:00
Valentin Kipyatkov acb5bb2b07 Smart completion: auto-casted types supported 2013-11-18 17:54:09 +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
Zalim Bashorov cf717f8cb7 JS backend: minor fixes in k2js stdlib. 2013-11-17 03:21:55 +04:00
Nikolay Krasko dd44478c2f Remove "StaticMethodReferencedViaSubclass" warning mute 2013-11-15 19:41:28 +04:00
Nikolay Krasko 74c321ba73 Test for absence static warnings 2013-11-15 19:41:26 +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 f8357aecc1 Assign annotation to intellij-core library 2013-11-15 19:41:20 +04:00
Nikolay Krasko 8f12db341e Remastering of documentation provider
- Remove whole file resolve
- Take already resolved element
- Get kotlin element behind the wrapper directly
- Remove outdated isKotlinDeclaration method
- More tests
2013-11-15 19:41:16 +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
Nikolay Krasko 14c5ae57cf Make kotlin build against 132.1071 (EAP was 132.1045) 2013-11-15 17:13:44 +04:00
Natalia Ukhorskaya bacf8b58f3 Update to 132.1071 2013-11-15 17:10:46 +04:00
Zalim Bashorov 5c6cfce8ab JS backend: use jet.Iterable and jet.Any as "fake" classes. 2013-11-15 15:18:01 +04:00
Zalim Bashorov 060d7c5345 Removed closure-compiler.jar from repository and js_test_libs.
Added closure-compiler.jar to third-party dependencies.
Switch to use closure-compiler ant task instead of java task.
2013-11-15 15:18:00 +04:00
Zalim Bashorov bfa79efaf3 BuildTools: added tests for ant task Kotlin2JsCompilerTask. 2013-11-15 15:17:59 +04:00
Zalim Bashorov df4850c22f BuildTools: added ant task for Kotlin2Js compiler. 2013-11-15 15:17:59 +04:00
Andrey Breslav 9723106d95 Add missing module to quick compiler build 2013-11-14 19:29:05 +04:00
Alexander Udalov d044fbb4f1 Add "-source 1.6" to javac to prevent numerous warnings on JDK 7 2013-11-14 19:11:21 +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 8b5aa94484 Extract SpecialNames.isClassObjectName 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 f75c399128 Minor, use headless mode in BuiltInsSerializer 2013-11-14 19:11:19 +04:00
Alexander Udalov ef0af47972 Minor, add error message & Override 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
Alexander Udalov cdecbc0915 Class objects also can have delegated members 2013-11-14 19:11:18 +04:00
Alexander Udalov 29f3c4a1a0 Report upper bounds violation for objects, not only classes 2013-11-14 19:11:18 +04:00
Alexander Udalov 01d8e658aa Regenerate tests 2013-11-14 19:10:34 +04:00
Alexander Udalov 57aa355b05 Report INVISIBLE_MEMBER on private class object usage 2013-11-14 19:10:18 +04:00
Alexander Udalov 94deb21551 Minor, move diagnostic tests for class objects 2013-11-14 17:45:57 +04:00