Yan Zhulanow
0304bd1dc1
More precise diagnostic messages about "operator modifier is not applicable"
2016-01-26 17:21:44 +03:00
Yan Zhulanow
3fa506fd45
"Inapplicable operator modifier" and "Inapplicable infix modifier" are now errors
2016-01-26 17:21:44 +03:00
Nikolay Krasko
06939b11e4
Fix NPE in GotoSuperActionHandler.java (EA-77295)
2016-01-26 14:58:44 +03:00
Natalia Ukhorskaya
ba323098ea
Debugger: fix EE for localvariables inside inline function call
...
#KT-10674 Fixed
2016-01-25 12:47:45 +03:00
Natalia Ukhorskaya
203cab8d1b
Debugger: fix step over for if with inline function call without lambda arguments
2016-01-25 12:47:45 +03:00
Denis Zharkov
6c0cd70a22
Introduce PureReifiable annotation
...
It prevents reporting unsafe substitution warning on expressions
like 'arrayOf(arrayOf(""))'
2016-01-22 19:17:22 +03:00
Denis Zharkov
32755a269c
Support annotations on type parameters in stub builder
2016-01-22 19:17:22 +03:00
Alexey Sedunov
618f9f62f6
Code Insight: "Generate toString" action
...
#KT-10309 Fixed
2016-01-22 15:50:19 +03:00
Alexey Sedunov
8da986ff24
Add Initializer Quick-Fix: Place caret at the end of generated initializer
...
#KT-10704 Fixed
2016-01-22 15:50:15 +03:00
Dmitry Petrov
f371e67ce8
PatternMatchingTypingVisitor:
...
rewrite type inference for 'when' using special constructs.
This fixes several type inference issues for 'when':
KT-9929, KT-9972, KT-10439, KT-10463
along with some other diagnostics-related issues.
2016-01-22 10:41:55 +03:00
Ilya Gorbunov
875287574f
Update testData for LoadBuiltinsTest and BuiltInDecompilerTest
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
4d5ec9be3f
Drop identityEquals from builtins, compiler and tests.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
2257fa36ec
Drop deprecations: text and system
...
Fix import in testData
Fix testData: replace removed method.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
25c4453dc5
Cleanup deprecated symbol usages in testData
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
eefbd72a64
Remove AddStarProjectionsFix for removed javaClass<T> function.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
4f1d2252f0
Make test for replacement, which requires adding import to the package with operator, independent from stdlib.
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
85a02d40c6
Drop hidden declarations provided for binary compatibility
2016-01-22 05:54:38 +03:00
Ilya Gorbunov
f4822cd757
Fix testData in compiler: add collections and ranges package to fq-names.
2016-01-22 05:54:38 +03:00
Pavel V. Talanov
36d5798a2e
Regression test for old issue
...
#KT-7656 Fixed
2016-01-21 20:47:20 +03:00
Valentin Kipyatkov
84e530bc1a
KT-6079 Show "parameter information" popup for type arguments
...
#KT-6079 Fixed
2016-01-21 19:07:39 +03:00
Nikolay Krasko
10648f44ac
Do not auto-import convention methods without 'operator' modifier (KT-10212)
...
#KT-10212 Fixed
2016-01-21 17:45:51 +03:00
Pavel V. Talanov
b34a91eeaa
Changes inside init blocks should be considered out of block modifications
2016-01-20 19:02:53 +03:00
Pavel V. Talanov
d72bc78550
Resolve annotations on parameters of function type
2016-01-20 18:06:23 +03:00
Dmitry Jemerov
4ab6436f93
avoid index access in KtFile.getClasses() when the file isn't part of a multi-file class (helps with KT-10684)
2016-01-20 13:45:42 +01:00
Valentin Kipyatkov
a1d760fc36
KT-10631 Consider creating a synthetic property even when the setter returns 'this'
...
#KT-10631 Fixed
2016-01-19 15:57:20 +03:00
Pavel V. Talanov
ce42d47383
Resolve lambda argument types when failing to resolve call
2016-01-19 14:14:33 +03:00
Denis Zharkov
e9693e987f
Humanize type mismatch diagnostic caused by type projections
...
#KT-10581 Fixed
2016-01-19 11:05:41 +03:00
Valentin Kipyatkov
4c62304a1d
KT-10337 Object marked as unused
...
#KT-10337 Fixed
2016-01-18 17:40:04 +03:00
Valentin Kipyatkov
4c2a14ff43
KT-9834 Optimizing imports with named import (kinda like static import)
...
#KT-9834 Fixed
2016-01-18 17:40:03 +03:00
Valentin Kipyatkov
bec16efbd7
Add/remove argument name intentions to work for super class constructor call
2016-01-18 17:40:03 +03:00
Valentin Kipyatkov
552359ce03
KT-7443 Inspection + intention to replace assert (x != null) with "!!" or elvis
...
#KT-7443 Fixed
2016-01-18 15:34:20 +03:00
Dmitry Jemerov
0c995d0ae1
Merge pull request #808 from mcgee/KT-10196
...
KT-10196: Suggest to replace 'substring' calls by take/drop/dropLast calls when possible
2016-01-15 19:52:35 +01:00
Pavel V. Talanov
abf4a5cf43
Show kotlin builtIn classes in "go to symbol"
...
#KT-10474 Fixed
2016-01-15 18:04:59 +03:00
Pavel V. Talanov
db07d783a2
Member is considered deprecated if it overrides only deprecated members
...
Property accessor is considered deprecated when the property is
Provide IDE inspection to strikeout members overriding deprecated members (like in java)
2016-01-15 17:53:23 +03:00
Mikhail Glukhikh
6157ebe3b8
Separate UNSAFE_IMPLICIT_INVOKE_CALL diagnostics introduced (see KT-8252)
2016-01-15 17:22:54 +03:00
Mikhail Glukhikh
0f80df7b2e
initialDataFlowInfoForArguments introduced in CallExpressionResolver methods #KT-10175 Fixed
2016-01-15 17:22:42 +03:00
NataliaUkhorskaya
b73ce68dbd
Debugger: quote package fqName properly. Fix muted tests
2016-01-15 15:57:35 +03:00
Anton Sukhonosenko
b2e98e9353
Suggest to replace 'substring' calls by take/drop/dropLast calls when possible
...
Code review fixes
#KT-10196 Fixed
2016-01-14 22:40:50 +03:00
Valentin Kipyatkov
15930a42b8
Fixed containingDeclaration for descriptors inside init-blocks for the case of no primary constructor
...
KT-10226 Wrong Imports optimization ("Unresolved reference" is being added)
#KT-10226 Fixed
2016-01-14 21:53:41 +03:00
Alexey Sedunov
1d9bafe196
PSI Unifier: Fix matching of this-expressions
...
#KT-8293 Fixed
2016-01-14 13:55:10 +03:00
Alexey Sedunov
ed8674c0f9
Safe Delete: Skip usages inside of overriding to-be-deleted declarations
...
#KT-7253 Fixed
2016-01-14 13:55:09 +03:00
Alexey Sedunov
59bacd932a
Minor: Add test for KT-8295
2016-01-14 13:55:08 +03:00
Alexey Sedunov
70a851fe44
Move/Change Package Directive Intention: Skip callee references to inner class constructors
...
#KT-10554 Fixed
2016-01-14 13:55:05 +03:00
Alexey Sedunov
73233b2e90
Change Variable Mutability Quick-Fix: Forbid on non-primary-constructor parameters
...
#KT-10601 Fixed
2016-01-14 13:55:03 +03:00
Alexey Sedunov
5a108c5cde
Generate equals/hashCode Action: Use Arrays.equals/Arrays.hashCode for properties of array types
...
#KT-10514 Fixed
2016-01-14 13:55:02 +03:00
Natalia Ukhorskaya
ea3ba6f534
Intention to simplify for using destructing declaration
2016-01-14 13:41:45 +03:00
Natalia Ukhorskaya
5667a92472
Debugger: add breakpoint variant for line with lambda in init block
...
#KT-KT-1061 Fixed
2016-01-14 13:39:01 +03:00
Natalia Ukhorskaya
2b1d60397d
Object to lambda intention is inapplicable when reference to this is used
...
#KT-10202 In Progress
2016-01-14 13:39:00 +03:00
Natalia Ukhorskaya
41e7c3d70b
Debugger: generate package parts only for debug file
...
#KT-10126 Fixed
2016-01-14 13:38:59 +03:00
Dmitry Jemerov
8fdd8179b9
Workaround for KtEnumEntrySuperclassReferenceExpression which implements KtSimpleNameExpression in a weird way and can break Move refactoring (EA-75268 - assert: TextRange.<init>)
2016-01-13 20:28:39 +01:00