Stanislav Erokhin
1dca49cecc
Workaround for tower resolution algorithm in kotlin code. Will be investigated.
2015-12-11 17:01:01 +03:00
Stanislav Erokhin
cbe1ffed55
Use new tower resolution algorithm by default
2015-12-11 17:01:00 +03:00
Natalia Ukhorskaya
f699adda33
Stepping: skip methods deleting to static method call of DefaultImpl.
...
Support smart step into interface methods with implementation
#KT-4803 Fixed
2015-12-11 16:21:05 +03:00
Natalia Ukhorskaya
ea8de883ac
Implement 'Skip simple getters' for debugger
2015-12-11 16:21:04 +03:00
Michael Bogdanov
b950bf0e6e
Fix for KT-10259: Proguard can't find generated lambda class of lambda nested inside object?.let lambda
...
#Fixed KT-10259
2015-12-11 16:14:59 +03:00
Michael Bogdanov
9452c200a0
Keep typeRemapper in inlining context instead of hashMap for transformed types
2015-12-11 16:14:58 +03:00
Mikhail Glukhikh
6fb871a088
A set of additional tests for complex expressions DFA
2015-12-11 15:17:37 +03:00
Mikhail Glukhikh
d024045638
Data flow values for Elvis / parenthesized expressions, smart casts on them
2015-12-11 15:17:29 +03:00
Mikhail Glukhikh
745a3aeeac
Accurate representation of smart casts on complex expressions
2015-12-11 15:17:25 +03:00
Mikhail Glukhikh
7cd867b936
DFA: take into account if / else and when expression assignments #KT-10002 Fixed
...
Also #KT-7479 Fixed
2015-12-11 15:17:22 +03:00
Mikhail Glukhikh
e7fc6bcc6e
BuiltIns refactoring: getEnumEntry
2015-12-11 11:11:46 +03:00
Mikhail Glukhikh
c8b50eec1e
Enum.values: deprecation (warning) --> deprecation (error)
2015-12-11 11:11:42 +03:00
Mikhail Glukhikh
521b216602
Migration: Enum.values to Enum.values()
2015-12-11 11:11:38 +03:00
Mikhail Glukhikh
3254641c5a
Local sealed classes: warning --> error
2015-12-11 11:11:34 +03:00
Dmitry Petrov
0fe74a8b43
COMMA_IN_WHEN_CONDITION_WITHOUT_ARGUMENT is an ERROR now.
...
Migrated code.
Updated test data in IDE tests.
Dropped whenWithRangeTestsAndMultiConditions.kt:
"Introduce subject" is not applicable to 'when' with ||-ed conditions.
2015-12-11 10:43:16 +03:00
Alexey Tsvetkov
199827635f
Reserve 'typeof' as a keyword
2015-12-10 21:26:41 +03:00
Alexey Sedunov
4c3f620255
Minor: Fix compilation
2015-12-10 21:03:44 +03:00
Alexey Sedunov
f87d2d1fcc
Introduce Refactorings: Implement trimming renderer for expression
...
chooser. Do not suggest parenthesized expressions
#KT-9028 Fixed
2015-12-10 20:07:26 +03:00
Alexey Sedunov
ae2fc19fe5
Introduce Parameter/Lambda Parameter: Parenthesize binary expressions if operation reference starts with a new line
2015-12-10 20:07:24 +03:00
Alexey Sedunov
354e1dc337
Extract Function: Parenthesize binary expressions if operation reference starts with a new line
2015-12-10 20:07:23 +03:00
Alexey Sedunov
1824f10f07
Introduce Variable: Parenthesize binary expressions if operation references starts with a new line
...
#KT-3933 Fixed
2015-12-10 20:07:22 +03:00
Alexey Sedunov
ffc8b6fd89
Safe Delete: Move test classes and test data to refactoring directory
2015-12-10 20:06:34 +03:00
Alexey Sedunov
a76f43b66c
Safe Delete: Skip internal usages of class constructors when deleting class itself
...
#KT-8857 Fixed
2015-12-10 20:06:31 +03:00
Alexey Sedunov
f50059a11a
Create from Usage: Implement "Create function" on callable references
...
#KT-10283 Fixed
2015-12-10 20:06:30 +03:00
Alexey Sedunov
87aebd2cdf
Create from Usage: Forbid "Create local variable/parameter/property" on callable references
...
#KT-10283 In Progress
2015-12-10 20:06:27 +03:00
Alexey Sedunov
44743aade5
Create from Usage: Allow type parameters in the receiver position
...
#KT-7497 Fixed
2015-12-10 20:06:26 +03:00
Alexey Sedunov
76cf284b77
Introduce Variable: Do not suggest type-based names for multi-declaration entries if component function corresponds to value parameter
...
#KT-10287 Fixed
2015-12-10 20:06:24 +03:00
Yan Zhulanow
15faa6610c
Android Extensions: do not cache package fragment provider with synthetic properties (KT-10318)
2015-12-10 19:38:38 +03:00
Yan Zhulanow
ac9a1350c2
Application package from manifest file has a higher priority than the applicationId value in build.gradle (KT-10320)
2015-12-10 19:38:38 +03:00
Dmitry Jemerov
009e3f9cd7
rename PSI classes according to current terminology:
...
KtMultiDeclaration(Entry) -> KtDestructuringDeclaration(Entry)
KtFunctionLiteralExpression -> KtLambdaExpression
KtFunctionLiteralArgument -> KtLambdaArgument
KtDelegationSpecifierList -> KtSuperTypeList
KtDelegationSpecifier -> KtSuperTypeListEntry
KtDelegatorToSuperClass -> KtSuperTypeEntry
KtDelegatorToSuperCall -> KtSuperTypeCallEntry
KtDelegationByExpressionSpecifier ->KtDelegatedSuperTypeEntry
2015-12-10 16:15:13 +01:00
Alexey Tsvetkov
ef4b3c99f4
Minor: remove default values for markChunk parameters
2015-12-10 18:03:20 +03:00
Alexey Tsvetkov
6a74b1c8bf
Rebuild only kotlin when cache version is changed
2015-12-10 18:03:17 +03:00
Alexey Tsvetkov
49778d2fb6
Minor: move buildFinished closer to buildStarted
2015-12-10 18:03:13 +03:00
Natalia Ukhorskaya
d10c3ffbe4
Fix exception in EE for inline function invocation
...
#KT-10217 Fixed
2015-12-10 14:42:00 +03:00
Natalia Ukhorskaya
58d62fde4d
Add test for smart step into in method with default args
...
#KT-4803 In Progress
2015-12-10 14:41:58 +03:00
Natalia Ukhorskaya
1dbe560734
Run Code Clean up for org.jetbrains.kotlin.idea.debugger
2015-12-10 14:41:56 +03:00
Natalia Ukhorskaya
1ca6c695e6
Remove println() from debugger testData
2015-12-10 14:41:53 +03:00
Natalia Ukhorskaya
9b8e5c5684
Refactor KotlinDebuggerTestCase to avoid StubIndexReindex between test invocation
2015-12-10 14:41:51 +03:00
Natalia Ukhorskaya
42119b311d
Skip whitespaces as context elements of codeFragmnets
...
#KT-10171 Fixed
2015-12-10 14:41:49 +03:00
Natalia Ukhorskaya
49e484d796
Do not throw exception analyzing imports in KtCodeFragments
2015-12-10 14:41:47 +03:00
Natalia Ukhorskaya
08c29b7325
Fix step out from inline function literal placed at one line
...
#KT-10187 Fixed
2015-12-10 13:11:40 +03:00
Natalia Ukhorskaya
3b3dbbab04
Evaluate expression for variable of function type
...
#KT-10199 Fixed
2015-12-10 13:11:39 +03:00
Natalia Ukhorskaya
2bc2d81486
Debugger: correctly box parameter types in case of generics
...
#KT-10180 Fixed
2015-12-10 13:11:39 +03:00
Pavel V. Talanov
280e00981f
Load java: load annotations on enum entries
2015-12-10 11:12:23 +03:00
Pavel V. Talanov
fb19552920
Mark enum entries that are deprecated in Kotlin as deprecated in bytecode
2015-12-10 11:12:22 +03:00
Zalim Bashorov
5bf8b4d946
Allow to use "static" part of class in own constructors by short name, including in primary constructor
2015-12-09 21:42:32 +03:00
Mikhail Glukhikh
f319b1b93a
Sealed classes are not taken into account in live templates
2015-12-09 19:27:50 +03:00
Mikhail Glukhikh
9a4eb2a368
Refactoring: ClassDescriptor.isFinal, no more Modality.isOverridable
2015-12-09 19:27:47 +03:00
Mikhail Glukhikh
fb406bfc24
Refactoring: CallableMemberDescriptor.isOverridable
2015-12-09 19:27:04 +03:00
Mikhail Glukhikh
c73f01927a
'sealed' is now not 'final' by default + related code changes #KT-10266 Fixed
2015-12-09 19:19:04 +03:00