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
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
c90bcb41f3
Refactor and fix buildDecompiledText#appendDescriptor
...
Make it clear that first we render all enum entries, then the companion if it
exists, then anything else. Previously the companion wasn't rendered in the
case when the scope did not contain anything else (which was the case for the
scope of a class not found in the decompiler)
2015-09-01 15:06:45 +03:00
Michael Nedzelsky
be2324031d
decompiled text: add test for inherited interface
2015-09-01 15:06:45 +03:00
Nikolay Krasko
add43407d3
Overridden methods with generic type shows no implementations found (KT-8723)
...
#KT-8723 Fixed
2015-09-01 12:45:12 +03:00
Nikolay Krasko
2af541cd4f
Refactor: splict logic to different methods
2015-09-01 12:45:11 +03:00
Nikolay Krasko
f2145fb9a5
Minor: drop usage of deprecated method
2015-09-01 12:45:11 +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