Zalim Bashorov
c6aa94d30a
Track lookups in LazyJavaScope ans LazyJavaPackageScope
2015-11-02 18:18:30 +03:00
Zalim Bashorov
47f1975879
Track lookups in DeserializedMemberScope
2015-11-02 18:18:29 +03:00
Zalim Bashorov
a5d8b47083
Refactoring: introduced val location: LocationInfo? in LookupLocation and use it in LookupTracker::record
2015-11-02 18:18:29 +03:00
Zalim Bashorov
81a288b42c
Add LookupTracker to DeserializationComponents
2015-11-02 18:18:28 +03:00
Zalim Bashorov
f1638bf6fd
Minor: simplify code
2015-11-02 18:18:27 +03:00
Alexey Sedunov
520e90acf1
Minor: Use kotlin.lazy instead of kotlin.Delegates.lazy in KtPsiFactory.CallableBuilder
2015-11-02 15:15:44 +03:00
Alexey Sedunov
5e223927ea
Change Signature: Match calls of different overloads generated due to @JvmOverloads annotation
...
#KT-9020 Fixed
2015-11-02 15:15:43 +03:00
Alexey Sedunov
6b346d9e77
Change Signature: Drop light method filtering as old-style package facades are not supported anymore
2015-11-02 15:15:41 +03:00
Alexey Sedunov
7ce6f58c27
Change Signature: Constraint indices of parameters generated for overloaded versions of function with @JvmOverloads annotation
...
#KT-9762 Fixed
2015-11-02 15:15:40 +03:00
Alexey Sedunov
6a72b51677
Change Signature: Run tests with Kotlin stdlib
2015-11-02 15:15:39 +03:00
Alexey Sedunov
4f09bdfe70
Change Signature: Placed kotlin processor after the java one. Fix processUsage() to pass non-Kotlin usages to further processors (if any)
...
#KT-9219 Fixed
2015-11-02 15:15:38 +03:00
Alexey Sedunov
307778ba79
J2K: JetChangeSignatureUsageProcessor
2015-11-02 15:15:36 +03:00
Alexey Sedunov
dc3a799acb
J2K: Rename JetChangeSignatureUsageProcessor.java to .kt
2015-11-02 15:15:35 +03:00
Alexey Sedunov
1de3faf3f5
Codegen: Fix origin of overloaded methods generated for constructors with @JvmOverloads
...
Find Usages: Add tests for declarations annotated with @JvmOverloads
#KT-8534 Fixed
2015-11-02 15:15:34 +03:00
Alexey Sedunov
b9ed3b91be
Change Signature: Fix descriptor comparison when receiver type is changed
...
#KT-9201 Fixed
2015-11-02 15:15:33 +03:00
Alexey Sedunov
937b8725c6
Change Signature/Rename: Fix processing of named arguments when renaming parameter of extension function
...
#KT-8605 Fixed
2015-11-02 15:15:32 +03:00
Alexey Sedunov
18ed3055ee
Introduce Variable: Allow introduction of variables with 'dynamic' type
...
#KT-8483 Fixed
2015-11-02 15:15:31 +03:00
Alexey Sedunov
6dd58ad197
Inline: Fix inlining of if-expressions into qualified expressions
...
#KT-8008 Fixed
2015-11-02 15:15:29 +03:00
Alexey Sedunov
89132b3f66
Generate Secondary Constructor: Forbid inside of class with explicit primary constructor
2015-11-02 15:15:28 +03:00
Alexey Sedunov
22393d4cd2
Formatter: Use formatter to automatically insert semicolons after the last enum entry when needed
2015-11-02 15:15:26 +03:00
Dmitry Petrov
d060687775
Package vs class conflict in qualifier resolution:
...
- add test for unresolved 'a.a' after 'import a.a';
- added TODO in copy-paste test for 'a.a'
2015-11-02 10:22:50 +03:00
Dmitry Petrov
e1cb13bd90
Qualifier no longer defers "(nested) class vs package" resolution.
...
Consider FQN 'a.b.c'.
If 'a' is a classifier in the current scope,
resolve rest in the corresponding class scope.
Otherwise (if 'a' is a package),
find the maximum possible prefix 'a.b' resolving to a package,
resolve rest in the corresponding package scope.
2015-11-02 10:22:50 +03:00
Alexander Udalov
a950f36fd7
Minor, fix test data
2015-10-31 13:52:04 +03:00
Stanislav Erokhin
25a168d2a4
Minor. Fix potential deadlock
2015-10-31 10:01:08 +03:00
Stanislav Erokhin
77411b2181
Allowed call value with extension function type as simple function type.
2015-10-31 10:01:07 +03:00
Denis Zharkov
b6f724cf58
Disconnect loops between upper bounds of type parameters
...
#KT-9759 Fixed
2015-10-31 09:33:46 +03:00
Denis Zharkov
9b4ad1466a
Minor. Extract 'getAllUpperBounds'
2015-10-31 09:33:46 +03:00
Denis Zharkov
18097c0ab7
Introduce 'SupertypeLoopsResolver' and inject it's impls
2015-10-31 09:33:46 +03:00
Denis Zharkov
0bc5043c75
Extract and convert 'findLoopsInSupertypesAndDisconnect'
2015-10-31 09:33:45 +03:00
Denis Zharkov
8ba2dc5530
Simplify detecting loops in classes supertypes
2015-10-31 09:33:45 +03:00
Yan Zhulanow
33d67a3bf4
Fix JvmField applicability test data
...
(Annotation is not applied both to field & getter now)
2015-10-31 04:30:24 +03:00
Alexander Udalov
b5f89100f6
Remove obsolete SCRIPT markers
2015-10-30 23:41:32 +03:00
Alexander Udalov
c75d96b82c
Add testcase for fixed issue
...
#KT-9850 Fixed
2015-10-30 23:41:10 +03:00
Michael Nedzelsky
48929f3edf
Test for obsolete KT-9277
...
#KT-9277 Obsolete
2015-10-30 18:57:48 +03:00
Michael Nedzelsky
dbc00baa48
Test for obsolete KT-5508
...
#KT-5508 Obsolete
2015-10-30 18:57:45 +03:00
Michael Nedzelsky
947b4d4ce8
Test for obsolete KT-3343
...
#KT-3343 Obsolete
2015-10-30 18:57:42 +03:00
Valentin Kipyatkov
d38b3146db
More correct completion of overrides in constructor parameters - '$' character confuses parser
2015-10-30 17:43:28 +03:00
Valentin Kipyatkov
c2cf95bcd4
KT-9787 Auto-popup parameter info on typing '['
...
#KT-9787 Fixed
2015-10-30 17:43:28 +03:00
Valentin Kipyatkov
def0e01e8d
KT-9684 Add kotlinx.android.synthetic package to default imports with '*'
...
#KT-9684 Fixed
2015-10-30 17:43:27 +03:00
Valentin Kipyatkov
ebe3efe710
Minor
2015-10-30 17:43:26 +03:00
Valentin Kipyatkov
7e2b37bb0f
KT-9813 Parameter name&type completion gets in the way of typing
...
#KT-9813 Fixed
2015-10-30 17:43:26 +03:00
Valentin Kipyatkov
752cdd5f83
KT-9815 Import insertion (on Alt-Enter) does not work in Evaluate Expression
...
#KT-9815 Fixed
2015-10-30 17:43:25 +03:00
Valentin Kipyatkov
61fc3e7705
Added test for auto-import fix in code fragment
2015-10-30 17:37:24 +03:00
Valentin Kipyatkov
ce50a27af0
KT-9729 Invert If Condition intention should run Simplify Negated Expression when applicable
...
#KT-9729 Fixed
2015-10-30 17:25:36 +03:00
Valentin Kipyatkov
87f68f3332
KT-9688 Completion of methods to override: prefer those that need to be implemented
...
#KT-9688 Fixed
2015-10-30 17:25:36 +03:00
Valentin Kipyatkov
acc451bc54
KT-9723 Completion of override property in constructor produces bad formatting
...
#KT-9723 Fixed
2015-10-30 17:25:36 +03:00
Valentin Kipyatkov
c643eb14a1
No i18n
2015-10-30 17:25:36 +03:00
Valentin Kipyatkov
3c1538997e
Fixed "Make class open" in case of primary constructor
...
#KT-9767 Fixed
2015-10-30 17:25:36 +03:00
Valentin Kipyatkov
fc924d1c9f
Not operator
2015-10-30 17:25:35 +03:00
Valentin Kipyatkov
d289ebd874
Cannot make any object 'abstract'
2015-10-30 17:25:35 +03:00