Kirill Rakhman
f3e68fdeaa
Implement smart enter processors for property setter with tests
...
Fixes #KT-9996
2016-02-23 17:01:02 +01:00
Kirill Rakhman
c1a2570dd4
replace null checks with elvis operator
2016-02-23 16:35:12 +01:00
Alexander Udalov
c71c344b8a
Fix NCDFE on primitive iterators during boxing optimization
...
The real fix is in ProgressionIteratorBasicValue's constructor, other changes
are refactorings
#KT-11153 Fixed
2016-02-22 19:49:39 +03:00
Ilya Gorbunov
3c35395cf7
Minor: refactor some tests to use nested classes.
2016-02-21 04:18:11 +03:00
Ilya Gorbunov
7997aea5c3
Make Destructured nested class of MatchResult interface in JS too.
2016-02-21 04:18:09 +03:00
Ilya Gorbunov
acc6cc539a
Mark CollectionAssertions as deprecated due to their experimental status.
2016-02-21 03:33:12 +03:00
Ilya Gorbunov
bf536afe5f
Mark reified assertFailsWith with InlineOnly to preserve stack traces.
2016-02-21 03:20:07 +03:00
Ilya Gorbunov
119eceb80b
Minor: correct file name
2016-02-21 03:20:05 +03:00
Alexander Udalov
c0a0a8afd7
Revert "Minor, pass -Xmx256m to compiler in CompilerSmokeTestBase"
...
This reverts commit 61f5e2f9cf .
Causes OOM on TeamCity
2016-02-20 22:21:58 +03:00
Zalim Bashorov
82a049b319
JS: fix definition nested classes inside interfaces
2016-02-20 21:20:42 +03:00
Alexey Andreev
718c15806c
KT-10785 Ensure that access to private properties from inside memeber functions of objects is performed via 'this' rather that by FQN.
2016-02-20 19:16:26 +03:00
Alexey Andreev
0a2cff9056
KT-10785 Fixed. Change predicate that decides whether to dereference assignment target as a property accessor or as a backing field.
2016-02-20 19:16:26 +03:00
Alexander Udalov
dbde566b66
Minor, fix typo in test class name
2016-02-20 19:05:40 +03:00
Alexander Udalov
1a5a077bd6
Replace map + filterNotNull -> mapNotNull in project
2016-02-20 19:05:30 +03:00
Alexander Udalov
61f5e2f9cf
Minor, pass -Xmx256m to compiler in CompilerSmokeTestBase
...
This fixes CompilerFileLimitTest when running locally
2016-02-20 19:05:23 +03:00
Alexey Andreev
a4db14eff5
[KT-4124] Add tests for qualified labeled super access to functions and properties
2016-02-20 15:19:31 +03:00
Alexey Andreev
d83f926658
[KT-4124] Refactor super calls and fix calls to Any::equals
2016-02-20 15:19:31 +03:00
Alexey Andreev
6adcafafbb
[KT-4124] Minor refactoring and cleanup
2016-02-20 15:19:30 +03:00
Alexey Andreev
d067068774
[KT-4124] Support invocation of constructor of inner class from extension method
2016-02-20 15:19:30 +03:00
Alexey Andreev
9238afc439
[KT-4124] Fix some tests from common testData
2016-02-20 15:19:29 +03:00
Alexey Andreev
f5786dd567
[KT-4124] Add test case for nested/inner classes inside native class. Add diagnostic of inner classes inside native classes.
2016-02-20 15:19:28 +03:00
Alexey Andreev
040a646174
[KT-4124] Add test case for nested native class
2016-02-20 15:19:28 +03:00
Alexey Andreev
68828317b8
[KT-4124] Suppress error reporting about native local classes
2016-02-20 15:19:27 +03:00
Alexey Andreev
e3c7cd0021
[KT-4124] Add diagnostic that reports of local classes. Remove test for diagnostic of nested types
2016-02-20 15:19:27 +03:00
Alexey Andreev
8537d327fa
[KT-4124] Add diagnostic of a several cases of local classes like class in object in function.
2016-02-20 15:19:26 +03:00
Alexey Andreev
c705fafc95
[KT-4124] Add support for super<T>@Outer.functionName() case
2016-02-20 15:19:25 +03:00
Alexey Andreev
9e0e734021
[KT-4124] Add support for super<T>@Outer.propertyName case
2016-02-20 15:19:25 +03:00
Alexey Andreev
20b3361edc
[KT-4124] Fix test compatibility between JS and Java backed for several tests
2016-02-20 15:19:24 +03:00
Alexey Andreev
c231ecfe50
[KT-4124] Fix the following: when test can't be compiled, sometimes JUnit reported that .js file was not found instead of reporting actual errors.
2016-02-20 15:19:24 +03:00
Alexey Andreev
3f5be335a9
[KT-4124] Fix bug when constructing like this: "A.Companion.B()"
2016-02-20 15:19:23 +03:00
Alexey Andreev
700159987b
[KT-4124] Fix bug when inner A.B extends inner A.C not passing outer reference there
2016-02-20 15:19:23 +03:00
Alexey Andreev
8f74720973
[KT-4124] Add more generated tests from Java backend. Fix support of deeply nested classes (i.e. A.B.C) and nested enums.
2016-02-20 15:19:22 +03:00
Alexey Andreev
c48c6bc055
[KT-4124] Use generated test to avoid duplication of test data of inner classes. Add support of classes contained within objects.
2016-02-20 15:19:22 +03:00
Alexey Andreev
133b84160e
[KT-4124] Fix case of super@labeled recever. Add names to metadata of inner classes.
2016-02-20 15:19:21 +03:00
Alexey Andreev
4efceb95e3
[KT-4124] Add less trivial tests
2016-02-20 15:19:20 +03:00
Alexey Andreev
a8014dec50
[KT-4124] Add support for simple nested classes
2016-02-20 15:19:20 +03:00
Stanislav Erokhin
ae7b048fdb
Minor. rename
2016-02-20 14:55:18 +03:00
Stanislav Erokhin
3e366f6b2d
Minor. cleanup
2016-02-20 14:55:18 +03:00
Stanislav Erokhin
45de06ac0c
Minor. Removed generics.
2016-02-20 14:55:17 +03:00
Stanislav Erokhin
63b3cbafa4
Remove old resolution algorithm.
2016-02-20 14:55:17 +03:00
Stanislav Erokhin
acdd807e91
Support "given candidates" mode in new resolution algorithm.
2016-02-20 14:55:16 +03:00
Stanislav Erokhin
daee95f2c4
Refactoring: create separate util function for create constructors resolution candidates
2016-02-20 14:55:16 +03:00
Stanislav Erokhin
7de2013a3e
KT-3856 Wrong inner class inaccessible diagnostic for extension to outer class
...
#KT-3856 Fixed
2016-02-20 14:55:15 +03:00
Zalim Bashorov
61cc8394e8
Minor: fix testdata
2016-02-20 13:11:23 +03:00
Alexander Udalov
1b8f934b54
Delete deprecated enum 'values' property
2016-02-19 22:28:44 +03:00
Alexander Udalov
1eeb72e073
Do not create empty static scope instances for non-enum classes
2016-02-19 22:28:44 +03:00
Alexander Udalov
60fe64dcaa
Remove obsolete lazy code in LazyClassDescriptor
...
This was added in a072550931 when we thought
making 'annotation' an annotation instead of a modifier would be a good idea;
we weren't be able to resolve the class kind immediately then. This is no
longer the case
2016-02-19 22:28:44 +03:00
Zalim Bashorov
d832a3d290
KotlinBuilder: use proper API to update Java mappings
2016-02-19 19:11:10 +03:00
Zalim Bashorov
ae32698c78
Minor: add more sources for jps library
2016-02-19 19:11:09 +03:00
Zalim Bashorov
05eff9028f
New IC: don't fail on unsupported difference kinds and process SUPERTYPE_ID_LIST correctly
2016-02-19 19:10:44 +03:00