Mikhail Glukhikh
39090113e9
KT-13262 related: surround with null check is applicable now also for qualified calls with argument type mismatch
...
(cherry picked from commit 8f13c84)
2016-08-01 12:24:49 +03:00
Mikhail Glukhikh
b7fd41844d
Wrap with safe let call handles qualified calls correctly #KT-13262 Fixed
...
(cherry picked from commit 7044348)
2016-08-01 12:24:38 +03:00
Mikhail Glukhikh
77b7648f10
Build fix: replace call with comparison inspection test
...
(cherry picked from commit 7f6be5b)
2016-08-01 12:24:27 +03:00
Mikhail Glukhikh
475dc6541b
Replace call with comparison inspection introduced #KT-11425 Fixed
...
(cherry picked from commit 042fc0d)
2016-08-01 12:24:14 +03:00
Mikhail Glukhikh
fc13b25ca4
KT-11425: convert a.compareTo(b) to binary comparison if possible
...
(cherry picked from commit 7219904)
2016-08-01 12:23:19 +03:00
Mikhail Glukhikh
f309021c9f
KT-11425: convert !a.equals(b) to a != b
...
(cherry picked from commit 56c7786)
2016-08-01 12:23:07 +03:00
Mikhail Glukhikh
2850a7898d
KT-11425: replace call with binary operator works now also with equals() and ==
...
(cherry picked from commit 5d47fdf)
2016-08-01 12:22:54 +03:00
Ilya Gorbunov
39d7d3381c
Make unchecked cast in Map.getOrDefault extension that is covariant by K, since getOrDefault member now requires K as key.
...
Relates to #KT-13209.
2016-07-29 21:03:56 +03:00
Ilya Gorbunov
0a0bdbc8b3
Minor: fix test source root
2016-07-29 21:03:56 +03:00
Mikhail Glukhikh
d8bd90fb90
ReplaceInfixCallFix --> ReplaceInfixOrOperatorCallFix
...
(cherry picked from commit 679867b)
2016-07-29 20:12:21 +03:00
Mikhail Glukhikh
995a633229
Replace with safe call works now on UNSAFE_IMPLICIT_INVOKE #KT-12628 Fixed
...
(cherry picked from commit 208798d)
2016-07-29 20:12:11 +03:00
Mikhail Glukhikh
a9c30e878b
KT-12628: !! is now correctly added to array expressions
...
(cherry picked from commit 56c9d7e)
2016-07-29 20:12:02 +03:00
Mikhail Glukhikh
47493c1a65
KT-12628: replace infix call supports now array accesses too
...
(cherry picked from commit 3d67f84)
2016-07-29 20:11:45 +03:00
Mikhail Glukhikh
c439a751ab
KT-12628: new test for arg + something with nullable arg
...
(cherry picked from commit a7e4e2d)
2016-07-29 20:11:36 +03:00
Mikhail Glukhikh
9830140a15
Make constructor parameter a property: additional test for private property in superclass
...
(cherry picked from commit dd30bd5)
2016-07-29 20:11:27 +03:00
Mikhail Glukhikh
838cfc7dca
Make constructor parameter a property: select 'private' to be able to remove it #KT-13187 Fixed
...
(cherry picked from commit dc8c195)
2016-07-29 20:11:18 +03:00
Mikhail Glukhikh
0278a6c8a4
Make constructor parameter a property: message shortened a bit
...
(cherry picked from commit 1938909)
2016-07-29 20:11:09 +03:00
Alexey Tsvetkov
e51f2457bf
Add additional java source dir to source set in android test
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
ef70814f60
Refactoring: extract function to map classpath
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
2cae5f01cf
Move call to kotlinTask.source to doTargetSpecificProcessing
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
ad1340caf3
Refactoring: move mapKotlinTaskProperties call to createKotlinJVMTask
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
048982cf36
Refactor classpath handling in KotlinCompile
...
#KT-13234 fixed
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
815e297328
Add test for code using internal compiled incrementally
...
The issue was fixed during refactoring
#KT-12923 fixed
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
2e3b3da029
Track changes in generated source files
...
#KT-12962 fixed
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
7fe29a7e55
Refactoring: simplify source roots search
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
b13e1b451d
Refactoring: use convention mapping for configuring classpath of kotlin tasks
...
#KT-12658 fixed
#KT-12750 fixed
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
d55a8f8054
Refactor source configuration for android
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
d36de54aa9
Minor: cleanup
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
d376e76e75
Refactoring: set task properties directly
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
54659fcacf
Refactoring: remove extra property to pass stubs directory
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
92af1e9454
Refactoring: do not use extraProperties to pass kapt options to task
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
c838eed6a3
Refactoring: remove reflection calls
2016-07-29 17:56:30 +03:00
Alexey Tsvetkov
f297de401c
Refactoring: remove remainings of custom classloader in gradle plugin
2016-07-29 17:56:30 +03:00
Stanislav Erokhin
aa91b5a1b0
KT-13264 IAE: Argument for @NotNull parameter 'errorClass' createErrorTypeConstructorWithCustomDebugName must not be null
...
#KT-13264 Fixed
2016-07-29 17:53:12 +03:00
Stanislav Erokhin
19e4dbc37c
Refactoring. Move functionTypeResolveUtils.kt to resolution module.
2016-07-29 17:53:11 +03:00
Stanislav Erokhin
df461d6e7f
Refactoring. Remove supertype TowerContext from class InvokeTowerContext.
2016-07-29 17:53:11 +03:00
Stanislav Erokhin
2c2f105c5d
Do not add receiver for function expression by expected type.
2016-07-29 17:53:10 +03:00
Dmitry Petrov
2b63c6a2d5
Merge branch 'typealias_completion' of https://github.com/cypressious/kotlin into cypressious-typealias_completion
2016-07-28 18:07:43 +03:00
Pavel V. Talanov
3bb1ce7e1d
Sync code in 'idea-ultimate'
2016-07-28 18:01:01 +03:00
Pavel V. Talanov
7273ef2754
Fix test data
2016-07-28 18:01:00 +03:00
Pavel V. Talanov
5600433baf
KtLightClassForSourceDeclaration.create(): check for enum entry earlier
2016-07-28 18:00:59 +03:00
Pavel V. Talanov
82a2b94490
LightClassDataProvider: FqName calculation is redundant now
2016-07-28 18:00:58 +03:00
Pavel V. Talanov
ae0d450acf
Light class test for classes with dollars in name
2016-07-28 18:00:58 +03:00
Pavel V. Talanov
e51957a431
PsiChecker test for classes with dollars in name
2016-07-28 18:00:57 +03:00
Pavel V. Talanov
4ee0f7052f
StubClassBuilder: correctly calculate short name when building delegates for light classes
2016-07-28 18:00:56 +03:00
Pavel V. Talanov
c85ddc3da2
Do not build light classes for scripts
...
Supports old behaviour
2016-07-28 18:00:55 +03:00
Pavel V. Talanov
913a1baf56
FqName is not required to create source light classes
2016-07-28 18:00:54 +03:00
Pavel V. Talanov
5a1a1fc03a
Drop KtLightClass#getFqName() and some usages of classFqName in KtLightClassForDecompiledDeclaration
2016-07-28 18:00:53 +03:00
Pavel V. Talanov
1fda24fbbf
Local classes do not have qualified names
...
Mirros java psi
2016-07-28 18:00:52 +03:00
Pavel V. Talanov
85fb16ef1b
Refactor: restructure light class hierarchy for sources
...
KtLightClassBase
| KtLightClassForSourceDeclaration
| KtLightClassImpl (new!) // top level or inner/nested of top level class
| KtLightClassForInterfaceDefaultImpls
| KtLightClassForLocalDeclaration (new!)
| KtLightClassForAnonymousDeclaration
| KtLightClassForEnumEntry
2016-07-28 18:00:52 +03:00