Natalia Ukhorskaya
894c11d412
Merge pull request #820 from JakeWharton/jw/extra-source-folders
...
Include source folders from registered source-generating tasks.
2016-02-25 12:07:20 +03:00
Denis Zharkov
fe7393dc1a
Fix testData
2016-02-25 11:15:18 +03:00
Denis Zharkov
4c88e2a0bc
Use original descriptor when mapping fake override
...
Otherwise wrong CONFLICTING_INHERITED_JVM_DECLARATIONS were reported
#KT-10691 Fixed
2016-02-25 11:10:48 +03:00
Michael Bogdanov
582b1c5e66
Fix for KT-11163: Incorrect codegen in case of custom compareTo on primitives
...
#KT-11163 Fixed
2016-02-25 10:16:09 +03:00
Denis Zharkov
36e84ff23a
Minor. Add tests for obsolete issues
...
#KT-8900 Obsolete
#KT-8901 Obsolete
2016-02-25 08:31:58 +03:00
Denis Zharkov
914447b7eb
Do not treat uninitialized value as a reason to retain boxing
...
See testData/simpleUnitializedMerge.kt
On exit from `if` we merge value in variable with slot 1 (x):
- from `if` body we get BoxedBasicValue
- from outer block we get UNITIALIZED_VALUE
So we just suppose `x` is unitialized after `if`
and there's no need to mark BoxedValue as unsafe to remove
because it's anyway can't be used after `if`
#KT-6842 Fixed
2016-02-25 08:31:19 +03:00
Denis Zharkov
2f4b8dab25
Minor. Replace 'filter' with 'any'
2016-02-25 08:31:19 +03:00
Stanislav Erokhin
226e690a86
Minor. refactoring in Qualifier.
2016-02-24 19:33:10 +03:00
Stanislav Erokhin
f130de2468
Remove scope from Qualifier
2016-02-24 19:33:10 +03:00
Stanislav Erokhin
4b3c6d52ef
Remake QualifierReceiver
2016-02-24 19:33:09 +03:00
Stanislav Erokhin
8c5339cccf
Minor. Remove class ClassifierQualifier and create special ClassValueReceiver
2016-02-24 19:33:09 +03:00
Stanislav Erokhin
2f0ae6f176
Minor. Remove name from Qualifier.
2016-02-24 19:33:08 +03:00
Stanislav Erokhin
5240233eda
Minor. Remove HIDDEN_ANNOTATION_FQ_NAME.
2016-02-24 19:33:08 +03:00
Stanislav Erokhin
6a1664c1b3
Minor. removed explicitExtensionReceiverForInvoke from CallCandidateResolutionContext.
2016-02-24 19:33:07 +03:00
Stanislav Erokhin
1ef4a958fd
Minor. removed call checked from ResolutionContext.
2016-02-24 19:33:07 +03:00
Stanislav Erokhin
6591f8a2ab
Minor. removed unused method from AdditionalTypeChecker.
2016-02-24 19:33:06 +03:00
Stanislav Erokhin
24829ee3ac
Minor. rename
2016-02-24 19:33:06 +03:00
Stanislav Erokhin
665e13e4ec
Remove obsolete code about warnings for expressions which can be null in java(has @Nullable annotation in java) and in kotlin not marked nullable.
...
After introducing flexible types and signature enhancement there is no more such expressions.
2016-02-24 19:33:05 +03:00
Michael Bogdanov
b20f49a2c4
Default body compilation for inline fun extracted from InlineCodegen to separate one
2016-02-24 14:06:29 +03:00
Michael Bogdanov
f149f16882
Separately process inline function default impl body compilation (non general inline magic),
...
Fix for KT-10670 Debugger: Evaluate Expression/Watches fail for inline function parameter initialized with default value
#KT-10670 Fixed
2016-02-24 14:06:29 +03:00
Michael Bogdanov
7bfb5a0c60
InliningInstructionAdapter refactoring: renamed to MethodBodyVisitor, added additional empty owerrides
2016-02-24 14:06:28 +03:00
Dmitry Jemerov
54de48604d
Merge pull request #824 from cypressious/setter_smart_enter
...
Implement Smart Enter for Property Setters #KT-9996
2016-02-24 11:27:39 +01:00
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