Mikhail Glukhikh
c3cce53aa2
Quick fix "add when remaining branches" refactoring + enum / sealed generated name w/o package name
2016-01-13 12:32:14 +03:00
Pavel V. Talanov
9bfa90dc0e
Analyze local variable declarations in expression position
...
Fixes exception on invalid code "val c = 1 < val Int.f: Int = 3"
2016-01-12 19:31:16 +03:00
Mikhail Glukhikh
0bcae4e0c0
Build fix: nullable exhaustiveness checker is now only a part of other exhaustiveness checkers
2016-01-12 15:44:55 +03:00
Mikhail Glukhikh
8b6156abd6
Quick fix "Add remaining when branches" with some tests
2016-01-12 14:33:20 +03:00
Mikhail Glukhikh
936fee0afa
KT-10295: long enum (sealed) special case
2016-01-12 14:18:36 +03:00
Mikhail Glukhikh
c085eb650f
Better diagnostics for non-exhaustive whens, relevant test #KT-10295 Fixed
2016-01-12 14:18:23 +03:00
Dmitry Jemerov
76c9bbc06d
handle setter calls used as expression bodies in "Use property access syntax" intention
...
#KT-10587 Fixed
2016-01-11 18:53:07 +01:00
Dmitry Jemerov
e47e9f6763
inspection and code cleanup for redundant visibility modifiers
2016-01-05 13:31:43 +01:00
Natalia Ukhorskaya
ad9303b97b
Support breakpoints in anonymous objects with usages of cross inline argument
2015-12-30 14:49:30 +03:00
Natalia Ukhorskaya
36d154babf
Support breakpoints for inline function with cross inline argument
2015-12-30 14:49:27 +03:00
Michael Bogdanov
1d70b58d17
Fixed test data
2015-12-30 14:42:12 +03:00
Alexey Sedunov
aeefdffaab
Implement Abstract Member Intention: Support primary constructor parameters
...
#KT-8427 Fixed
2015-12-30 00:56:34 +03:00
Alexey Sedunov
2b4f03feef
Implement Members Quick-Fix: Support primary constructor parameters
...
#KT-8427 In Progress
2015-12-30 00:56:34 +03:00
Alexey Sedunov
00cc9d4150
Specify Type Explicitly: Filter out types which can't be resolved in the target scope
...
#KT-10066 Fixed
2015-12-30 00:56:34 +03:00
Alexey Sedunov
5b5e7fb9b7
'Change parameter type' Quick-Fix: Use Change Signature API
...
#KT-9812 Fixed
2015-12-30 00:56:34 +03:00
Pavel V. Talanov
004c266433
Minor: fix missed error marker in test data
2015-12-29 18:13:10 +03:00
Michael Bogdanov
bb63bcd520
Removed obsolete tests
2015-12-29 16:45:24 +03:00
Michael Bogdanov
e116cc3206
Private visibility for non-const, non-jvmField class companion property backing field
2015-12-29 16:45:22 +03:00
Pavel V. Talanov
b38fc7b3c1
Parse local interfaces in expression position
2015-12-29 15:57:00 +03:00
Pavel V. Talanov
1c4d4f3e36
Create class descriptors for local classes in illegal positions
...
Typecheck code in illegal selector position
Fixes exceptions on "val p = A.class" erroneous code
2015-12-29 15:56:44 +03:00
Denis Zharkov
e2c02f825f
Refine member scope for types with projections
...
Instead of erasing descriptors with conflicting substitution,
use invariant CapturedType(<projection>) as replacement for type parameter
within default member scope.
After substitution leave such types 'as is' everywhere except return types,
use common approximation for them.
#KT-9294 In Progress
#KT-5411 Fixed
#KT-8647 Fixed
#KT-9462 Fixed
#KT-9893 Fixed
#KT-7581 Fixed
#KT-7296 In Progress
2015-12-28 11:13:37 +03:00
Mikhail Glukhikh
0cc09872b6
Implicit exhaustive when annotation / highlighting
2015-12-26 10:46:44 +03:00
Alexey Sedunov
4de26bed93
Minor: Add test for now-obsolete KT-8035 "Extended class is not open" quickfix fails on nested classes "
2015-12-25 18:51:03 +03:00
Alexey Sedunov
c90d283ff5
Quick Fixes: Implement 'Add val/var to primary constructor parameter' quick-fix for data classes
...
#KT-4038 Fixed
2015-12-25 18:50:59 +03:00
Alexey Sedunov
6978d842fb
Intentions: Implement 'Add val/var to primary constructor parameter' intention
...
#KT-4038 In Progress
2015-12-25 18:50:55 +03:00
Alexey Sedunov
5dcf531048
Formatter: Leave single space between val/var and value parameter
2015-12-25 18:50:52 +03:00
Alexey Sedunov
2895e2e86f
Change Signature: Process implicit usages of data class 'componentN' functions
...
#KT-9393 Fixed
2015-12-25 18:50:48 +03:00
Alexey Sedunov
4fba251fba
Intentions: 'Implement abstract member' (Kotlin -> Java)
...
#KT-8467 Fixed
2015-12-25 18:50:41 +03:00
Alexey Sedunov
03641ffbee
Intentions: 'Implement abstract member' (Kotlin -> Kotlin)
...
#KT-8467 In Progress
2015-12-25 18:50:37 +03:00
Alexey Sedunov
123b813073
'Replace with infix call' Intention: Disable on calls without explicit receiver
...
#KT-6332 Fixed
2015-12-25 18:50:34 +03:00
Alexey Sedunov
ae636a0d32
Iterate Intention: Add support of destructuring declarations
2015-12-25 18:50:30 +03:00
Alexey Sedunov
1d3054e7a6
Iterate Intention: Filter out functions without 'operator' modifier
2015-12-25 18:50:27 +03:00
Alexey Sedunov
1c74bab1cc
Iterate Intention: Fix detection of extension iterators
...
#KT-8616 Fixed
2015-12-25 18:50:23 +03:00
Alexey Sedunov
ee9389d089
Create from Usage: Strip first parameter of extension function when expected type is non-extension
2015-12-25 18:50:19 +03:00
Michael Bogdanov
b4db23a7b3
Removed 'INSTANCE' field from companions
2015-12-24 13:59:45 +03:00
Michael Bogdanov
2e73559f33
Removed 'INSTANCE$' field generation
2015-12-24 13:59:44 +03:00
Michael Bogdanov
aeb6486473
Deprecated 'INSTANCE$' replaced with 'INSTANCE'
2015-12-24 13:59:43 +03:00
Ilya Gorbunov
de11ed4fc6
Primitive Companion objects do not longer implement IntegerConstants and FloatingPointConstants. All declarations moved inside companions.
...
IntegerConstants and FloatingPointConstants are dropped.
#KT-8897 Fixed
2015-12-24 06:17:03 +03:00
Mikhail Glukhikh
99a32b93fb
Implemented missed checks for local functions #KT-10449 Fixed
...
Relevant code/test fixes
2015-12-23 18:22:32 +03:00
Alexander Udalov
12e921ab15
Minor, add test on annotation in enum companion
2015-12-23 16:45:26 +03:00
Alexander Udalov
f7969621d6
Don't read isStaticInOuter message for fields
...
It's only written for fields of properties of companion objects of classes;
handle that case manually in deserialization
2015-12-23 16:45:26 +03:00
Pavel V. Talanov
6a1ca7b9c9
Fix an exception caused by objects literals in supertype list not considered local
2015-12-23 14:56:27 +03:00
Pavel V. Talanov
99966c17da
Go to (show) implementations: skip light methods that are generated with DELEGATION or DELEGATION_TO_DEFAULT_IMPLS JvmDeclarationOriginKind
...
Add some unrelated tests for fake overrides
2015-12-22 17:30:51 +03:00
Alexander Udalov
7449ad2763
Rename Extension annotation to ExtensionFunctionType
...
The old one is kept temporarily and will be removed later
2015-12-21 20:33:32 +03:00
Andrey Breslav
a7e7d53e2b
Reserve "async* {}", extend the quick-fix
2015-12-21 07:15:37 +03:00
Nikolay Krasko
afc1e24571
Quick fix for deprecated async syntax
2015-12-21 07:15:37 +03:00
Nikolay Krasko
697132561f
Allow to override suppression key for inspections
2015-12-19 14:32:38 +03:00
Nikolay Krasko
8196621be5
Add test for inspections suppression
2015-12-19 14:32:38 +03:00
Nikolay Krasko
aff83087a3
Allow to suppress warnings at file level
2015-12-19 14:32:37 +03:00
Nikolay Krasko
36210f0a27
Allow to suppress kotlin inspections with Suppress() annotation
2015-12-19 14:32:36 +03:00