Alexander Udalov
f6f825e0dc
Minor, extract validatePropertyCall out of SymbolUsageValidator#validateCall
...
BasicExpressionTypingVisitor#checkLValue is the only place where it's used.
There's no ResolvedCall instance for the setter call (only for the property
itself), that's why this special method is needed
2016-06-29 19:19:59 +03:00
Alexander Udalov
d7d2780666
Drop SymbolUsageValidator.Composite, use validators similarly to call checkers
...
Also fix warnings in DeprecatedSymbolValidator, DelegatedPropertyResolver and
elsewhere
2016-06-29 19:19:58 +03:00
Alexander Udalov
e94fd8f777
Make infix & operator checkers implement CallChecker
...
Instead of SymbolUsageValidator
2016-06-29 19:19:57 +03:00
Yan Zhulanow
bb083a51cc
KT-12895, EA-84877: Fix NoSuchMethodError thrown when saving a Kotlin file.
...
newOutputStreamSupplier() is deprecated and was deleted in Guava 18.
2016-06-29 17:52:25 +03:00
Nikolay Krasko
51a2abdbc2
Minor: remove outdated comment
2016-06-29 16:16:32 +03:00
Nikolay Krasko
eee45e91ce
Add more tests for PropertyAccessorDescriptor.isDeafult() usages
2016-06-29 16:16:31 +03:00
Nikolay Krasko
c936b3f3e0
Don't fail in setup because of access restricted exception
2016-06-29 16:16:30 +03:00
Kirill Rakhman
0320bd8184
Formatter: Remove spaces before question mark in nullable types (KT-12830)
...
#KT-12830 Fixed
2016-06-29 16:15:59 +03:00
Alexey Andreev
9a50e91cd8
KT-12893: fix another potential issue (could not reproduce)
2016-06-29 14:44:44 +03:00
Michael Bogdanov
476c1ec264
Compile android tests against jdk 6
2016-06-29 12:14:01 +03:00
Alexey Andreev
3a3e7bb814
KT-12893: when opening Kotlin compiler settings while kotlinc.xml does not specify which module kind to use, fallback to default value ("plain").
...
Fix #KT-12893
2016-06-29 12:02:26 +03:00
Michael Bogdanov
a8af654a20
Exclude 'immutableRemove.kt' test from Android tests
2016-06-29 09:33:42 +03:00
Michael Bogdanov
3b419e8ba3
Fix for KT-11964: No TABLESWITCH in when on enum bytecode if enum constant is imported
...
#KT-11964 Fixed
2016-06-29 09:32:45 +03:00
Alexey Sedunov
81ec18e1fc
Minor: Fix test data
2016-06-28 20:58:58 +03:00
Denis Zharkov
efe718602a
Support type aliases in incremental compilation
...
#KT-12871 Fixed
2016-06-28 16:22:08 +03:00
Denis Zharkov
f1363cbf88
Fix visibility checks for constructor call based on type alias
...
Constructor is invisible iff. either underlying constructor or corresposing type alias is invisible
#KT-12888 Fixed
2016-06-28 16:22:08 +03:00
Pavel V. Talanov
1b416a674d
ChangeLog, minor: make usages of quotes and backticks more consistent
2016-06-28 16:08:10 +03:00
Pavel V. Talanov
a6b1abf8d4
Minor: fix typos in ChangeLog
2016-06-28 16:08:08 +03:00
Pavel V. Talanov
5a2cd11c78
Update Changelog for 1.0.3
2016-06-28 16:08:06 +03:00
Alexey Sedunov
b83902a8b5
Rename: Update references to facade class when renaming file via matching top-level class
...
#KT-11903 Fixed
(cherry picked from commit a1d9a25)
2016-06-28 15:07:39 +03:00
Alexey Sedunov
932892243c
Line Markers: Filter out irrelevant declarations before resolving in KotlinTestRunLineMarkerContributor
...
#KT-12647 Fixed
(cherry picked from commit cceeaeb)
2016-06-28 15:07:37 +03:00
Alexey Sedunov
068a120600
Rename: Constraint search scope of parameter declared in a private member
...
#KT-9649 Fixed
(cherry picked from commit fa144b0)
2016-06-28 15:07:36 +03:00
Alexey Sedunov
746b8895e2
Rename: Disable JavaMemberByKotlinReferenceInplaceRenameHandler for synthetic properties referenced from Kotlin code
...
#KT-9168 Fixed
(cherry picked from commit dfebdaf)
2016-06-28 15:07:34 +03:00
Alexey Sedunov
7a584e876b
Rename: Support automatic test renaming for facade files
...
#KT-10578 Fixed
(cherry picked from commit 35050f4)
2016-06-28 15:07:32 +03:00
Alexey Sedunov
f9d28bf76d
Override/Implement: Prefer not-nullable return type when overriding Java method without nullability annotation
...
#KT-12381 Fixed
(cherry picked from commit 2b87f8e)
2016-06-28 15:07:31 +03:00
Alexey Sedunov
542f8d9fd2
Move: Support quoted package names
...
#KT-12411 Fixed
(cherry picked from commit 95239e5)
2016-06-28 15:07:30 +03:00
Alexey Sedunov
89816c5f12
References: Support implicit references to annotation method 'value'. Support Find Usages/Rename on these references
...
#KT-12657 Fixed
(cherry picked from commit 68d0d84)
2016-06-28 15:07:28 +03:00
Alexey Sedunov
efa27e6048
Rename: Suggest renaming both property accessors with matching @JvmName when renaming one of them from Java
...
#KT-12759 Fixed
(cherry picked from commit 81a8e6a)
2016-06-28 15:07:25 +03:00
Alexey Sedunov
248f4c1645
Light Classes: Implement light elements for 'extends'/'implements' reference lists. Support adding/removing of super type list entries via light elements.
...
Fix exception on applying "Convert to class" intention to Java interface with Kotlin inheritor(s)
#KT-11281 Fixed
(cherry picked from commit 4ec4914)
2016-06-28 15:07:24 +03:00
Alexey Sedunov
8e061c9ec1
Implement Abstract Member: Navigate to the generated declaration
...
#KT-12290 Fixed
(cherry picked from commit 6274c6b)
2016-06-28 15:07:23 +03:00
Alexey Sedunov
0d80bf030f
Create from Usage: Fix exception in "Create class" quickfix applied to unresolved references in type arguments. Create class body when necessary
...
#KT-12777 Fixed
(cherry picked from commit dc90ec9)
2016-06-28 15:07:21 +03:00
Alexey Sedunov
ffe4e760d7
Override/Implement: Implement JavaDoc/KDoc copying
...
#KT-8682 Fixed
#KT-12735 Fixed
(cherry picked from commit f4486be)
2016-06-28 15:07:19 +03:00
Alexey Sedunov
3f09b7f9d5
Minor: Rename jetRefactoringUtil.kt -> kotlinRefactoringUtil.kt
...
(cherry picked from commit a841f87)
2016-06-28 15:07:17 +03:00
Alexey Sedunov
0e5a997506
Minor: Drop unused variable
...
(cherry picked from commit 4441323)
2016-06-28 15:07:15 +03:00
Alexey Sedunov
296c7a16d3
Copy: Filter out invalid elements to prevent PsiInvalidElementAccessException
...
#KT-12747 Fixed
(cherry picked from commit 4a0a440)
2016-06-28 15:07:14 +03:00
Alexey Sedunov
69704c017f
Create from Usage: Suggest "Create function/secondary constructor" quick fix on argument type mismatch
...
#KT-11864 Fixed
(cherry picked from commit 1912783)
2016-06-28 15:07:12 +03:00
Alexey Sedunov
5296b61ce9
Rename: Qualify references to members of enum companions in case of conflict with enum entries
...
#KT-10033 Fixed
(cherry picked from commit 3373d54)
2016-06-28 15:07:11 +03:00
Alexey Sedunov
35aa3f7646
Inspections: Don't show "Package directive doesn't match file location" in injected code
...
#KT-12376 Fixed
(cherry picked from commit a5a5fe5)
2016-06-28 15:07:09 +03:00
Alexey Sedunov
1da6c885e4
Rename: Preserve "Search in comments and strings" and "Search for text occurrences" settings in Rename dialog
...
#KT-8510 Fixed
(cherry picked from commit d9584d2)
2016-06-28 15:07:07 +03:00
Alexey Sedunov
7c95b5041b
Minor: Fix changelog
...
(cherry picked from commit 2ea3980)
2016-06-28 15:07:06 +03:00
Alexey Sedunov
46c2dc9895
Rename: Record new name for Kotlin function which is being renamed via light method
...
#KT-12732 Fixed
(cherry picked from commit 28b9d3e)
2016-06-28 15:07:05 +03:00
Alexey Sedunov
04f54bee88
Rename: Process property accesor usages (Java) in comments and string literals
...
#KT-9435 Fixed
(cherry picked from commit 911afee)
2016-06-28 15:07:03 +03:00
Alexey Sedunov
14b6c1930e
Rename: Add name suggestions to Rename dialog
...
#KT-6372 Fixed
(cherry picked from commit 84ca283)
2016-06-28 15:07:02 +03:00
Alexey Sedunov
d0a3732c94
Rename: Rename overridden property and all its accessors on attempt to rename overriding accessor in Java code
...
#KT-4791 Fixed
(cherry picked from commit 29e450e)
2016-06-28 15:07:01 +03:00
Alexey Sedunov
4c447d0580
Rename: Fix rename of ambiguous import reference to class/function when some referenced declarations are not changed
...
#KT-6663 Fixed
(cherry picked from commit 9ba8ecd)
2016-06-28 15:06:58 +03:00
Alexey Sedunov
b87d8e29e4
Rename: Implement conflict analysis for parameters. Qualify property references to avoid shadowing by parameters
...
#KT-10687 Fixed
(cherry picked from commit 7d6466d)
2016-06-28 15:06:54 +03:00
Alexey Sedunov
c9f659e89b
Rename: Implement Rename conflict analysis for classes. Qualify class references to resove rename conflicts when possible
...
#KT-8611 Fixed
#KT-8562 Fixed
(cherry picked from commit 8989ccc)
2016-06-28 15:06:52 +03:00
Alexey Sedunov
77b0bb9849
Rename: Implement Rename conflict analysis for properties. Qualify property references to resove rename conflicts when possible
...
#KT-8732 Fixed
#KT-12543 Fixed
(cherry picked from commit e23029d)
2016-06-28 15:06:49 +03:00
Stanislav Erokhin
43f5da0ece
Add eap channel for 1.1 into plugin updater.
2016-06-28 14:47:49 +03:00
Denis Zharkov
ed28b5a15e
Use modality and visibility from mutable class declaration
...
Otherwise open may be used instead of abstract (in most cases)
2016-06-28 14:25:44 +03:00