Commit Graph

24151 Commits

Author SHA1 Message Date
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
Pavel V. Talanov 855bff39fe Refactor: move annotation arguments resolve related utils from AnnotationResolver to ConstantExpressionEvaluator 2015-07-17 19:21:23 +03:00
Pavel V. Talanov a84da2bb0c Minor: move utilities closer to their only usage 2015-07-17 19:21:22 +03:00
Pavel V. Talanov f2016c8033 Minor: remove usage of KotlinBuiltins.getInstance() 2015-07-17 19:21:22 +03:00
Pavel V. Talanov 5ba2cda95d Minor refactor: Extract visitor from ConstantExpressionEvaluator into a separate class 2015-07-17 19:21:21 +03:00
Nikolay Krasko 67492ad5dd Disable kotlin sdk annotation check
#KT-7517 Fixed
2015-07-17 16:16:41 +03:00
Nikolay Krasko 9366652537 Disable annotation check for Android Studio and non-android sdk
Android studio always creates that sdk from scratch so no configuration will be stored after restart (KT-7517)
2015-07-17 16:16:40 +03:00
Pavel V. Talanov 3412febe59 Minor: better message in assertion 2015-07-17 16:06:17 +03:00
Nikolay Krasko e7f50982ca Merge pull request #726 from flire/master
Added export for completion visibility filter tests
2015-07-17 15:19:37 +03:00
Mikhail Glukhikh 0d0fc2802f Built-in test fixed 2015-07-17 13:26:49 +03:00
Mikhail Glukhikh af5e7f58da Implementation of Kotlin's 'target' annotation mapping to Java's 'Target' annotation + tests 2015-07-17 12:05:27 +03:00
Mikhail Glukhikh 2a1058ed63 Some usages of JetClassOrObject.isAnnotation() are removed. Related test fixed. 2015-07-17 12:05:19 +03:00
Mikhail Glukhikh 7f12965741 Suppress test corrected 2015-07-17 12:05:15 +03:00
Ilya Gorbunov 2c396cf28e Add clarification about the lazy nature of Sequence.plus and Sequence.minus operations. 2015-07-17 10:54:54 +03:00
Ilya Gorbunov 8ac613dd67 Fix docs for String.partition
#KT-8493 Fixed
2015-07-17 10:54:40 +03:00
Ilya Gorbunov fbd0c16551 Merging arrays without creating iterators. 2015-07-17 10:54:28 +03:00
Ilya Gorbunov b5b6e2e598 Usages of Array.plus: return type changed. 2015-07-17 10:54:16 +03:00
Ilya Gorbunov 25e5172591 Rewrite test for overloading plus not to depend on stdlib classes and methods. 2015-07-17 10:54:03 +03:00