Commit Graph

18815 Commits

Author SHA1 Message Date
Svetlana Isakova 7f62675665 Fixed error reporting for special constructions (if, elvis)
Track whether an error was reported for sub expressions (like 'if' branches) or it should be reported for the whole expression
 #KT-6189 Fixed
2014-11-21 14:02:42 +03:00
Svetlana Isakova 8109b1f997 DONT_CARE placeholder can be nullable after a substitution
Interpret it as DONT_CARE as well (not as an error type where an error was generated before)
 #KT-6175 Fixed
2014-11-21 14:02:41 +03:00
Svetlana Isakova 8ad017c071 Extracted 'deparenthesizeArgument', used it where necessary
#KT-6176 Fixed
2014-11-21 14:02:41 +03:00
Michael Bogdanov e2826a47e1 Remove "operation" method from StackValue.kt;
Compilation fix: remove static import to kotlin from AsmUtil
2014-11-21 13:59:44 +03:00
Michael Bogdanov 3a70992d27 Lazy intrinsic generation
#KT-6241 Fixed
2014-11-21 13:59:43 +03:00
Michael Bogdanov 4812564441 Intrinsic receiver parameter annotated with NotNull 2014-11-21 13:59:43 +03:00
Michael Bogdanov afceec427d Intrinsic arguments parameter annotated with NotNull 2014-11-21 13:59:43 +03:00
Natalia Ukhorskaya 68d5e43ad3 Android Gradle Plugin 0.14.4 breaks Kotlin
#KT-6310 Fixed
2014-11-21 12:41:19 +03:00
Natalia Ukhorskaya d85b3c15d8 Fix Android tests 2014-11-21 12:41:16 +03:00
Nikolay Krasko 5c597db881 Move ReferenceVariantsHelper and extensionsUtils to ide-common module
They are going to be used in Eclipse
2014-11-20 19:59:56 +03:00
Nikolay Krasko d5f10d520c Update to IDEA 139.463.4 2014-11-20 12:38:21 +03:00
Michael Bogdanov 21d5785986 Inline StackValueWithSimpleReceiver utility constructor 2014-11-20 10:20:34 +03:00
Michael Bogdanov fad64faabb canHaveSideEffect rename 2014-11-20 10:20:33 +03:00
Michael Bogdanov d685921271 Review fixes 2014-11-20 10:20:33 +03:00
Michael Bogdanov ec649e83c3 Don't skip receiver with side effects on static calls
#KT-6278 Fixed
2014-11-20 10:20:33 +03:00
Michael Bogdanov 5a8944085a Fix default property setter generation 2014-11-20 10:20:32 +03:00
Michael Bogdanov 9bac3a8055 Support platform static in call receiver, keep side effect on skiped receiver generation 2014-11-20 10:20:32 +03:00
Michael Bogdanov 6b2272e422 Call receiver rewrote in lazy way 2014-11-20 10:20:32 +03:00
Michael Bogdanov 2cc9d8e29b Support platformStatic for properties
#KT-5766 Fixed
2014-11-20 10:20:31 +03:00
Michael Bogdanov 5412a67d29 Generate static backing fields for properties in object
#KT-4973 Fixed
2014-11-20 10:20:31 +03:00
Michael Bogdanov 37bb4ae984 Coercion fix 2014-11-20 10:20:14 +03:00
Michael Bogdanov c5d8f1faf5 Interface refs 2014-11-20 10:20:13 +03:00
Michael Bogdanov fe1c6a0ca6 Introduce LOCAL_0 constant and some code cleaning 2014-11-20 10:20:13 +03:00
Michael Bogdanov f00700b58d StackValue interface refactoring 2014-11-20 10:20:13 +03:00
Michael Bogdanov 434c094ba9 Get rid of lazy cast 2014-11-20 10:20:13 +03:00
Michael Bogdanov 4cb3d30e5b Added thiz constant in StackValue, some refactorings 2014-11-20 10:20:13 +03:00
Michael Bogdanov 62cb586397 Lazy receiver generation 2014-11-20 10:20:13 +03:00
Michael Bogdanov af998101b3 Fix for KT-4206: NoSuchFieldError with class objects
#KT-4206 Fixed
2014-11-20 10:20:12 +03:00
Michael Bogdanov 7d1fd47569 Rewrite local var increment optimization 2014-11-20 10:20:12 +03:00
Michael Bogdanov 425f0984c7 Get rid of store 2014-11-20 10:20:12 +03:00
Michael Bogdanov 855bf772ca Prefix inc refactoring 2014-11-20 10:20:12 +03:00
Michael Bogdanov c7b1c0fe52 Store refactoring
#KT-1213 Fixed
2014-11-20 10:20:11 +03:00
Michael Nedzelsky 505775218a JS backend: fix KT-6277 kotlinc-js: IllegalArgumentException when -output is a file name without directory prefix
#KT-6277 Fixed
2014-11-19 23:38:15 +03:00
Michael Nedzelsky de2acc31ee JS backend: test for KT-6277 2014-11-19 23:38:12 +03:00
Valentin Kipyatkov 8006f16e46 Minor code refactorings 2014-11-19 16:01:20 +03:00
Valentin Kipyatkov 5036fdca14 Made ReferenceVariantsHelper class instead of object making method signatures shorter 2014-11-19 16:01:20 +03:00
Valentin Kipyatkov d5d884025c Renamed TipsManager 2014-11-19 16:01:19 +03:00
Valentin Kipyatkov 601fe05cb0 Moved methods for checking extensions applicability from TipsManager to extensionUtils.kt (and made them all extension methods) 2014-11-19 16:01:19 +03:00
Valentin Kipyatkov 153b53baa8 Moved method checkIsExtensionCallable from ExpressionTypingUtils to TipsManager (converting it to Kottlin) 2014-11-19 16:01:19 +03:00
Valentin Kipyatkov 18b9e4a868 Added tests 2014-11-19 16:01:18 +03:00
Valentin Kipyatkov 376e12b6f3 Removed code which does not seem to be needed at all 2014-11-19 16:01:18 +03:00
Valentin Kipyatkov e0da6247af Completion: bold immediate members for extensions too 2014-11-19 12:56:47 +03:00
Valentin Kipyatkov a26388ef63 Completion: corrected presentation for extension properties 2014-11-19 12:56:47 +03:00
Valentin Kipyatkov 386c67925f Completion: do not bold top-level functions 2014-11-19 12:56:47 +03:00
Valentin Kipyatkov fc993b88ec Checked that KT-4453 has been fixed recently by change in TipsManager 2014-11-19 12:56:46 +03:00
Nikolay Krasko 1fb0dc2d92 LTDA: Refactoring - extract processClassOrObject method from TDA 2014-11-18 17:10:25 +03:00
Nikolay Krasko 1a359fbcf6 LTDA: Refactoring - Move "analyzeFiles" to LazyTopDownAnalyzer 2014-11-18 17:10:24 +03:00
Nikolay Krasko 7b15f4125d LTDA: Fix configuration of package fragment provider in lazy resolve test code 2014-11-18 17:10:22 +03:00
Nikolay Krasko ad05b5a709 Injector for additional body resolve with lazy analyzer
Fix resolve JS modules with JVM resolver
2014-11-18 17:10:21 +03:00
Zalim Bashorov eae86e035f Minor in stdlib: move String.trimLeading and String.trimTrailing to common place. 2014-11-18 15:57:50 +03:00