Commit Graph

25177 Commits

Author SHA1 Message Date
Mikhail Glukhikh fa292ec0e0 Enum entries now can have no initializer if default secondary constructor is available. #KT-8484 Fixed 2015-09-02 18:23:07 +03:00
Stanislav Erokhin 0fc8023f18 Use LoggingStorageManager only if necessary 2015-09-02 17:49:16 +03:00
Yan Zhulanow acbc39bf9f Minor: move kapt-related stuff to AnnotationProcessingManager 2015-09-02 15:53:15 +03:00
Yan Zhulanow b044e4be07 Minor: remove code duplication 2015-09-02 15:53:15 +03:00
Yan Zhulanow 39d7e98775 kapt: Support Kotlin code generation 2015-09-02 15:53:14 +03:00
Yan Zhulanow edb35ae6ce kapt: Fix sequential builds (KT-8733) 2015-09-02 15:53:14 +03:00
Ilya Gorbunov b3073dbd2d Provide lazy implementation with an external object to synchronize on. 2015-09-02 15:49:53 +03:00
Ilya Gorbunov 4fbf787f7d Change proposed replacements for Delegates.lazy and blockingLazy to preserve behavior. 2015-09-02 15:49:50 +03:00
Ilya Gorbunov 184978e3cb Remove usages from tests 2015-09-02 15:49:47 +03:00
Ilya Gorbunov ceb3b7da9d Thread extension properties deprecated in favor of synthetic extension properties.
Executor.invoke and ExecutorService.invoke deprecated.
2015-09-02 15:49:44 +03:00
Ilya Gorbunov ed8edd2ce4 Documented HiddenDeclaration 2015-09-02 15:45:42 +03:00
Nikolay Krasko 1132652026 Update to 142.4245.2: Temprorary modify test data after IDEA update
The problem is in order of cleanup actions. Each action can invalidate psi and that can prevent next action from execution.
2015-09-02 15:10:43 +03:00
Natalia Ukhorskaya 11331e74fd Update to 142.4245.2: Fix compilation 2015-09-02 15:10:42 +03:00
Natalia Ukhorskaya ffe41b88a7 Update to 142.4245.2: Debugger tests: changes in testData 2015-09-02 15:10:41 +03:00
Nikolay Krasko 339f8ee2ab Update to 142.4245.2: Fix test data in pull up 2015-09-02 15:10:40 +03:00
Nikolay Krasko a946db98a1 Update to 142.4245.2: Fix compilation after update 2015-09-02 15:10:39 +03:00
Nikolay Krasko ca907c4985 Update to 142.4245.2: register RunLineMarkerProvider not only for Java language (temp) 2015-09-02 15:10:32 +03:00
Nikolay Krasko 5554a44f0f Update to 142.4245.2: Update Kotlin run line marker info to new API 2015-09-02 15:10:03 +03:00
Nikolay Krasko 6975afba3e Update to 142.4245.2 2015-09-02 13:49:12 +03:00
Nikolay Krasko 73a24435f7 Make Kotlin light classes pass "element instanceof StubBasedPsiElement" in LocalSearchScope scope 2015-09-02 13:49:10 +03:00
Nikolay Krasko 853c29be5a Add read-action call for looking for descriptor 2015-09-02 13:49:09 +03:00
Nikolay Krasko 01fd028799 Test base class of the test to be closer emulate IDE behaviour 2015-09-02 13:49:08 +03:00
Nikolay Krasko 73eca64769 Minor: too long lines 2015-09-02 13:49:06 +03:00
Mikhail Glukhikh 726cbe3755 Refactoring: VariableInitState --> VariableControlFlowState 2015-09-02 12:07:21 +03:00
Mikhail Glukhikh 285d5d06c7 More precise value reassignment analysis. #KT-7418 Fixed. #KT-6902 Fixed.
Variable can now be "exactly initialized", "may be initialized" and "not initialized".
A set of relevant tests. Some fixed tests.
2015-09-02 12:07:18 +03:00
Denis Zharkov c59b118b09 Implement quckfix adding explicit upper bounds for generic when needed 2015-09-02 12:04:08 +03:00
Denis Zharkov c17451cf5c Add quickfix for JAVA_TYPE_MISMATCH 2015-09-02 12:03:52 +03:00
Denis Zharkov 632e336782 Prohibit unsafe covariant conversion for collections invariant in Java 2015-09-02 10:39:29 +03:00
Denis Zharkov 6dc08f76a6 Preserve type capabilities while substituting
`val result` in test data rendered descriptors should be rendered as having raw type
2015-09-02 10:38:43 +03:00
Denis Zharkov 3b80bf5bda Make call to additional type checker if no error happened 2015-09-02 10:38:43 +03:00
Michael Bogdanov 4853e4f1cc Module name parameter added to ant tasks 2015-09-02 09:29:38 +03:00
Stanislav Erokhin d015f713cb KT-6244 Overloads with no default parameters should take over ones with defaults
#KT-6244 Fixed
2015-09-01 23:37:43 +03:00
Stanislav Erokhin 5ded315cbb Improved error reporting for candidates with wrong parameter count 2015-09-01 23:37:42 +03:00
Alexey Tsvetkov 8ea6f36903 Minor: move comment to the member it was written for
Accidentally moved comment when refactored GenerationState
2015-09-01 19:16:22 +03:00
Alexey Tsvetkov 7101f9a3a4 Move GenerationState member up to further simplify constructor usages 2015-09-01 19:05:38 +03:00
Alexey Tsvetkov 1d5b869bee Clean up GenerationState initializer 2015-09-01 19:05:38 +03:00
Alexey Tsvetkov ddd469bb88 Minor: change order of GenerationState members 2015-09-01 19:05:37 +03:00
Alexey Tsvetkov 0a11525dd5 Clean up GenerationState constructor usages 2015-09-01 19:05:37 +03:00
Alexey Tsvetkov 1e964c6302 Make "progress" parameter with last in GenerationState constructor
This parameter has a default value, so it's more convenient to have it
closer to the end of parameter list.
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov 79f450e174 Remove GenerationState secondary constructor 2015-09-01 19:05:37 +03:00
Alexey Tsvetkov 04e5cbb5d3 Convert some GenerationState functions to values 2015-09-01 19:05:37 +03:00
Alexey Tsvetkov 6e0332d418 Move GenerationState properties' initialization to declaration 2015-09-01 19:05:37 +03:00
Alexey Tsvetkov de23f7ace8 Move property declaration to constructor 2015-09-01 19:05:37 +03:00
Alexey Tsvetkov 340929233e Remove unneeded brackets in GenerationState 2015-09-01 19:05:37 +03:00
Alexey Tsvetkov 1fcfbbca1b Replace plus operator with string template
This fixes the conversion issue: there is no "JavaClass<T>.plus(s:
String)" overload.
2015-09-01 19:05:37 +03:00
Alexey Tsvetkov 224bf7fb43 Convert GenerationState: actual conversion 2015-09-01 19:05:36 +03:00
Alexey Tsvetkov 4476dd934c Convert GenerationState: change extension 2015-09-01 19:05:36 +03:00
Michael Nedzelsky e39dec19fa regenerate tests 2015-09-01 19:00:56 +03:00
Zalim Bashorov fcbf8b5a28 Fix marking some files as executable on mac and on linux 2015-09-01 17:38:30 +03:00
Zalim Bashorov a12a7eb3f2 Minor: remove deprecated macrodefs from update_dependencies.xml 2015-09-01 17:38:30 +03:00