Commit Graph

24168 Commits

Author SHA1 Message Date
Denis Zharkov 3ec00114c0 Check type of elvis with expected type info
#KT-6713
2015-07-21 15:16:06 +03:00
Denis Zharkov 53edb83a56 Minor. More strict precondition for SAM adapter creation
Descriptor should be initialized before creating SAM adapter
2015-07-21 15:16:06 +03:00
Denis Zharkov 58e7923218 Use substituted return type for SAM adapeter of constructor
#KT-7282 Fixed
2015-07-21 15:16:06 +03:00
Denis Zharkov 97af85da9c Change default upper bound of Java type parameters to Any!
#KT-7672 Fixed
2015-07-21 15:16:05 +03:00
Alexander Udalov 0e69ebb288 Improve stack traces of exceptions thrown by LockBasedStorageManager
Drop leading frames which only contain memoized functions' and lazy values'
invokes, so that the first frame corresponds to the meaningful place in the
code
2015-07-21 13:32:26 +03:00
Alexander Udalov b5763e311f Minor, unworkaround the fixed issue 2015-07-21 13:32:26 +03:00
Alexander Udalov c116b6c868 Don't highlight injection points as unused in project 2015-07-21 13:31:44 +03:00
Natalia Ukhorskaya ce46982991 Debugger: do not try to computeSourcePosition for not kotlin variables 2015-07-21 13:04:38 +03:00
Natalia Ukhorskaya fbe2d77df5 Temporary switch off KotlinAndroidExtensions plugin during IDEA debug configuration start 2015-07-21 13:04:37 +03:00
Natalia Ukhorskaya b1762ac10a Remove unused contentEntry parameter from JetLightProjectDescriptor 2015-07-21 13:04:36 +03:00
Valentin Kipyatkov 0d09c55bac JetPackageDirective made not JetExpression 2015-07-21 08:36:36 +03:00
Valentin Kipyatkov fac55b60fa Lazy computation of smart cast types for receivers in call resolve 2015-07-21 08:32:52 +03:00
Valentin Kipyatkov 4ec26de2a8 Changes on code review 2015-07-21 08:32:51 +03:00
Valentin Kipyatkov 2ab8f9de8b Fixed compilation 2015-07-21 08:32:51 +03:00
Valentin Kipyatkov 31b7c33fa8 No need to scan base classes 2015-07-21 08:32:51 +03:00
Valentin Kipyatkov 1c52f8a524 Fixed synthetic properties for method inherited from two bases 2015-07-21 08:32:51 +03:00
Valentin Kipyatkov 612c009f6b Synthetic properties: correct behaviour for method hierarchies 2015-07-21 08:32:51 +03:00
Valentin Kipyatkov 367e294452 No synthetic properties in java class for methods inherited from Kotlin 2015-07-21 08:32:50 +03:00
Valentin Kipyatkov e0e7044032 Synthetic properties: fixed completion and inspection for generic class
+ fixed KT-8539 No completion of generic extension function for <*> type arguments

 #KT-8539 Fixed
2015-07-21 08:32:50 +03:00
Valentin Kipyatkov d2fb7381ce Tested one more case 2015-07-21 08:32:50 +03:00
Valentin Kipyatkov 4a8adacedd Changed policy for properties from methods like "getURL()"" 2015-07-21 08:32:50 +03:00
Valentin Kipyatkov 0ac990e1a0 More tests for smart casts 2015-07-21 08:32:50 +03:00
Valentin Kipyatkov 23cfe88b71 KT-8530 Synthetic properties doesn't work with smart casts
#KT-8530 Fixed
2015-07-21 08:32:50 +03:00
Valentin Kipyatkov b6027a0efe Changed synthetic properties naming for getters starting with "is" 2015-07-21 08:32:49 +03:00
Valentin Kipyatkov cf2aa73ee6 Fixed wrong test data 2015-07-21 08:32:49 +03:00
Valentin Kipyatkov 08ac0ae7a0 Renamed classes 2015-07-21 08:32:49 +03:00
Ilya Ryzhenkov eb97005cb5 Avoid creating SimpleResolutionContext in ConstantExpressionEvaluator to updateNumberType 2015-07-20 20:58:20 +03:00
Ilya Ryzhenkov 84236992cb Replace Injected properties with constructor parameters when it doesn't cause cycles 2015-07-20 20:58:19 +03:00
Ilya Ryzhenkov 76b9ac0f63 FileScopeProviderImpl dependencies 2015-07-20 20:58:18 +03:00
Ilya Ryzhenkov 04e71234a1 LocalClassifierAnalyzer dependencies 2015-07-20 20:58:17 +03:00
Ilya Ryzhenkov 5398de22f9 Container structure dump facilities. 2015-07-20 20:58:16 +03:00
Dmitry Jemerov 7192bc8798 restore fix for highlight usages which was lost during merge against J2K 2015-07-20 18:51:36 +02:00
Dmitry Jemerov 708513ce4c optimize imports 2015-07-20 18:32:13 +02:00
Dmitry Jemerov 3718a7dd44 code cleanup for JS modules 2015-07-20 18:32:05 +02:00
Natalia Ukhorskaya 973fa21fe9 Include snappy-in-java-0.3.1.jar in kotlin-compiler 2015-07-20 12:56:43 +03:00
Ilya Gorbunov 78b4c13d8f apply() got to smart completion where this was expected. 2015-07-20 02:16:38 +03:00
Ilya Gorbunov 1857725629 Unify documentation for scope functions. 2015-07-20 02:16:26 +03:00
Ilya Gorbunov 8a578a46f6 Introduce apply() scope function.
#KT-6903 Fixed
2015-07-20 02:06:38 +03:00
Ilya Gorbunov 3e231f2e44 Generalize run() scope function.
#KT-5235 Fixed
2015-07-20 02:05:22 +03:00
Ilya Gorbunov 21ee2c1cfd Cleanup Array.plus usages after bootstrap. 2015-07-20 01:55:13 +03:00
Alexey Sedunov 41aed73ebd Find Usages: Copy options used for highlighting (to prevent spoiling of default search scope used in the full usage search) 2015-07-17 21:19:28 +03:00
Nikolay Krasko 87e94aa20b Minor test data update after moving to new idea 2015-07-17 20:59:08 +03:00
Nikolay Krasko cac62fe4c8 Test fix after idea update 2015-07-17 20:59:07 +03:00
Nikolay Krasko f3c2de5287 Update to idea 142.3230.1 2015-07-17 20:59:05 +03:00
Nikolay Krasko 9648338b19 Enum with interface keywords leads to fail in DeclarationChecker 2015-07-17 20:59:03 +03:00
Nikolay Krasko 71b406d792 Fix class kind detector: prioritize enum over annotations. Introduce new error about enum annotations classes. 2015-07-17 20:59:02 +03:00
Pavel V. Talanov b2b8f1aabb Minor: prettify converted code a little bit 2015-07-17 19:21:25 +03:00
Pavel V. Talanov aae8ccfd57 Refactor: AnnotationSerializer does not depend on bultins 2015-07-17 19:21:24 +03:00
Pavel V. Talanov 251ebc7ca8 Inject ConstantExpressionEvaluator to some points of usage 2015-07-17 19:21:24 +03:00
Pavel V. Talanov 92161370f1 Refactor: Make some of utils in ConstantExpressionEvaluator non static 2015-07-17 19:21:23 +03:00