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
Valentin Kipyatkov
2b97a1034f
Converted to Kotlin
2015-10-30 17:25:35 +03:00
Valentin Kipyatkov
2b3694a77e
Do not drop use of SAM-constructor when it's required for labeled return
2015-10-30 17:25:35 +03:00
Valentin Kipyatkov
34298190b3
Use unaryPlus() and unaryMinus() instead of plus() and minus() + no identityEquals()
2015-10-30 17:25:35 +03:00
Valentin Kipyatkov
c5e13ebc68
Minor corrections on code review
2015-10-30 17:25:34 +03:00
Michael Bogdanov
7ee42ab18d
Fix for KT-9828: DX error on MutableMap.MutableEntry<String, Int> deconstruction: attempt to set or access a value of type java.lang.Object using a local variable of type int.
...
#KT-9828 Fixed
2015-10-30 16:47:21 +03:00
Michael Nedzelsky
9a8b73c5a5
fix texts in error messages for Fintite Bound Restriction & Non-Expansive Inheritance Restriction
2015-10-30 16:39:19 +03:00
Mikhail Glukhikh
182cde1e02
Standard data flow analysis results are taken into account during condition analysis #KT-7933 Fixed
2015-10-30 16:14:34 +03:00
Mikhail Glukhikh
dd1196ae6b
Condition analysis: left part of and (true condition) / or (false condition) is used for right part analysis #KT-8780 Fixed
2015-10-30 16:14:33 +03:00
Mikhail Glukhikh
12103d19d2
Smart casts inside property chains like a?.b?.c.foo(a, b) are now handled correctly #KT-7290 Fixed
2015-10-30 16:14:32 +03:00
Natalia Ukhorskaya
8be9be336f
Fix NPE on stepping
...
#KT-9821 Fixed
2015-10-30 14:53:06 +03:00