Valentin Kipyatkov
37ed77467f
Fixed ReplaceWith quickfix not working when synthetic extensions are used in the pattern
2015-09-03 15:55:57 +03:00
Valentin Kipyatkov
b859815c79
Renamed conflicting property in test
2015-09-03 15:55:55 +03:00
Valentin Kipyatkov
d41e01c0e4
Added a test
2015-09-03 15:55:54 +03:00
Nikolay Krasko
dd7ef4d89f
Fix null exception in setName() method (EA-70396)
2015-09-03 13:40:09 +03:00
Nikolay Krasko
5325767c61
Minor: fix spelling
2015-09-03 13:40:08 +03:00
Yan Zhulanow
55b2029b3c
Remove FIELD target from jvmStatic and platformStatic annotations
2015-09-02 20:36:48 +03:00
Mikhail Glukhikh
f92e91f045
Regression test for annotated function after the last enum entry #KT-4693 Obsolete
2015-09-02 18:23:10 +03:00
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
Nikolay Krasko
a946db98a1
Update to 142.4245.2: Fix compilation after update
2015-09-02 15:10:39 +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
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
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
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
Dmitry Jemerov
4991aff086
validate FQ name when checking the Java mapping (EA-72095)
2015-09-01 15:02:32 +02:00
Nikolay Krasko
9054151546
Use storage manager to create lazy value
2015-09-01 15:55:47 +03:00
Nikolay Krasko
6c45d81b86
Revert "Use lazy to store split annotations, code simplification"
...
This reverts commit 0b24e56f5a .
2015-09-01 15:55:46 +03:00
Mikhail Glukhikh
754f8af3fc
Type<*> is inferred now if Type<A> and Type<B> common supertype is Type<X> and X is not within parameter upper bound. #KT-7585 Fixed. #EA-68943 Fixed.
...
It provides also a fix for KT-7585 (empty type intersection assertion).
A set of relevant tests, one fixed test
2015-09-01 15:49:29 +03:00
Alexander Udalov
f7a178f978
Report warning on 'Singleton.javaClass'
...
As a temporary measure before 'javaClass' property is deprecated and removed.
Getting the Java class of a singleton this way is confusing and most of the
time is a failed attempt to get the Java class of a class with a companion
object (e.g. 'Int.javaClass')
2015-09-01 11:36:57 +03:00
Alexander Udalov
3f1bf46756
Minor, add toString() for debug
2015-09-01 11:36:57 +03:00
Ilya Chernikov
427b27b367
Merge pull request #743 from JetBrains/rr/compile-service
...
Kotlin compile daemon
2015-09-01 09:15:13 +02:00
Nikolay Krasko
d6b7214a65
More psi-only checks for Kotlin main function
2015-08-31 21:38:44 +03:00
Ilya Chernikov
7c1c628823
Next round of refactoring after review
2015-08-31 19:10:28 +02:00
Ilya Chernikov
9bee97e810
Refactoring after review
2015-08-31 18:39:55 +02:00
Ilya Chernikov
2d45a37884
Passing JPS process JVM memory options to daemon, refactoring options processing
2015-08-31 18:39:54 +02:00
Ilya Chernikov
61de1c3212
Fixes after review
2015-08-31 18:39:54 +02:00
ligee
434c30c1bc
Simple test with daemon compilation, minor fixes mostly for easier testing
2015-08-31 18:39:53 +02:00
ligee
6e3ce69faa
Shutting down daemon from kotlin plugin on idea exit, passing jvm params to daemon launch
2015-08-31 18:39:53 +02:00
ligee
5fee180d09
Daemon log, controlling it from launching, proper stdout/err redirection technique, params to control jvm options of the daemon
2015-08-31 18:39:52 +02:00
ligee
39d6592e1f
Adding compiler id digest calculation and check to detect replaced compiler jar, minor fixes and refactorings
2015-08-31 18:39:51 +02:00