Svyatoslav Kuzmich
62322dec5c
Regenerate and unmute tests
2019-01-16 16:37:52 +03:00
Mikhail Glukhikh
7908663687
Fix part of tests broken by a71bb709 (too many line breaks were added)
2019-01-16 16:07:41 +03:00
Alexey Tsvetkov
b6102c52b9
Fix kotlin-serialization plugins build scripts
...
1. There is no need to specify repositories.
2. We don't use 'org.jetbrains.kotlin:gradle-api:1.6' anymore.
3. kotlin-serialization-unshaded does not need dependencies,
because it does not contain source code (it simply packages jar).
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
3a91db836a
Minor: remove workaround for KT-24915 from tests
...
The issue was fixed in AGP 3.2.0-beta02
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
c59c5361d1
Test KAPT with AGP 3.1.0
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
d1cd98cf8b
Minor: remove repositories blocks from subprojects of databinding test
...
Repositories are set in top-level build.gradle file
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
a59be05792
Fix testDatabinding with AGP 3.0.x
...
AGP 3.0.x requires explicit 'kapt' dependency on databinding compiler.
Also databinding v2 (enabled by default in AGP 3.2.0) generates different
java classes.
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
3b806dca68
Drop support for gradle 4.0
...
#KT-29275 Fixed
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
9de66c4165
Fix Gradle JS test with Gradle 4.0+
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
4110eb3587
Fix AGP version checks in kapt android tests
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
6782d8c5c8
Use class instead of string to hold AGP version in tests
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
ca79efdeec
Remove unused methods from Gradle plugin
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
e9abd69fc0
Drop support for Android Gradle plugin 2.x
...
#KT-27886 Fixed
2019-01-16 15:57:32 +03:00
Alexey Tsvetkov
b51461b5c5
Drop support for Gradle 3.x
...
#KT-27885 Fixed
2019-01-16 15:57:32 +03:00
Svyatoslav Kuzmich
c92a6f9ca2
[JS IR BE] Unmute inlineClasses tests
2019-01-16 12:11:28 +03:00
Svyatoslav Kuzmich
befc371f6a
[JS IR BE] Fix bridges construction function handle
2019-01-16 12:11:28 +03:00
Svyatoslav Kuzmich
912f0a267f
[JS IR BE] Use return type in function signature for inline classes
...
Bridge function should be created when return type of override function
is specialised to unboxed inline class. Thus return type should be used in
function signature.
Non-inline-class return types are not added to signature for interop and
infrastructure reasons ("toString" would become "toString_ret$kotlin_String")
2019-01-16 12:11:27 +03:00
Svyatoslav Kuzmich
ebdbe7ec30
[JS IR BE] Fix fake override functions resolve
...
Use signature of function 'target' (a real function that will
be called instad of fake override) to make boxing/unboxing decision for
return value and type parameters on call site.
2019-01-16 12:11:27 +03:00
Dmitry Petrov
08abf5f2a2
Specialize unsigned range and progression iterator calls
2019-01-16 11:00:23 +03:00
Dmitry Petrov
723e739960
Minor: convert ProgressionIteratorBasicValue to Kotlin
2019-01-16 11:00:23 +03:00
Felix Guo
a71bb70901
KT-18715: don't swallow comments for if->elvis
...
Adds a CommentSaver to the IfThenToElvis intention that will save and
restore comments when converting an if expression to elvis expression.
2019-01-16 09:41:06 +03:00
Alexander Udalov
05c25342ad
Make CommonToolArguments.nullable
...
#KT-28974 Fixed
2019-01-15 17:21:43 +01:00
Nicolay Mitropolsky
9559346199
191: Uast: implementation of UMethod.returnTypeReference (KT-29012)
2019-01-15 18:51:50 +03:00
Nicolay Mitropolsky
630b39d6b0
191: Uast: compiling with -Xjvm-default=compatibility
2019-01-15 18:51:49 +03:00
Nicolay Mitropolsky
f4d585f836
Uast: removing unused KotlinUComponentQualifiedReferenceExpression
2019-01-15 17:22:07 +03:00
Nicolay Mitropolsky
c139901889
Uast: all Kotlin versions of org.jetbrains.uast.test.* moved to org.jetbrains.uast.test.*.kotlin
...
To avoid having same class names in Kotlin and IDEA
2019-01-15 17:22:04 +03:00
Sergey Igushkin
3d208c31c8
Run Gradle integration tests against Gradle 5.1.1
2019-01-15 15:50:15 +03:00
Alexander Gorshenev
2775153c1a
Got rid of an unecessary explicit cast.
2019-01-15 14:54:27 +03:00
Alexander Gorshenev
606c622e61
Removed unnecessary nullability marks.
2019-01-15 14:54:27 +03:00
Alexander Gorshenev
1e6240730b
Added a TODO statement on special treatment of properties in deserializer.
2019-01-15 14:54:27 +03:00
Alexander Gorshenev
f10e826b52
Less eagerly fail on the boundary between deserializer and DeclarationStubGenerator.
2019-01-15 14:54:27 +03:00
Alexander Gorshenev
884e6e15e9
Added a comment for separate treatment of properties in IrDeserializer interface.
2019-01-15 14:54:27 +03:00
Alexander Gorshenev
32c2e841f2
Reversed DumpIrTree.kt fix for now, as it breaks tests comparing textual IR representation.
2019-01-15 14:54:27 +03:00
Alexander Gorshenev
1ba4770800
A little fix to allow Wrapped and non-Wrapped descriptors to coexist.
2019-01-15 14:54:27 +03:00
Alexander Gorshenev
cea32bd4e3
Minor changes in preparation for IR deserialization.
2019-01-15 14:54:27 +03:00
Mikhail Zarechenskiy
01ab4965b1
[NI] Support SAM conversions in backend for special expressions
2019-01-15 13:14:41 +03:00
Mikhail Zarechenskiy
bcc720f1db
[NI] Run arguments checker before outer call checker
...
This is needed because arguments checker updates unsubstituted and
non-denotable types (type variables, IntegerValueType...)
#KT-28718 Fixed
2019-01-15 13:14:41 +03:00
Nikolay Krasko
55498450d1
Minor: extract function without manager parameter
2019-01-15 12:49:48 +03:00
Nikolay Krasko
4e9c8cee70
Drop bunch code by introduction wrapper for PopupChooserBuilder
2019-01-15 12:49:48 +03:00
Denis Zharkov
3707812fc2
Revert "Temporary remove some tests after a fix for KT-24937"
...
This reverts commit ddb4e8b128 .
2019-01-15 12:35:12 +03:00
Ilya Matveev
ac1b4cf6b2
Allow setting test binary linker options using a test compilation
...
#KT-29254 Fixed
2019-01-15 12:07:55 +07:00
Vyacheslav Gerasimov
2157c777b3
Remove obsolete bunch fixes for 173 & as31
2019-01-14 21:29:03 +03:00
Vyacheslav Gerasimov
b1f25874d8
Remove warnings from incompatible api inspection
2019-01-14 21:29:03 +03:00
Vyacheslav Gerasimov
13d87e8eae
Remove as31 bunch files
2019-01-14 21:29:02 +03:00
Vyacheslav Gerasimov
818910267e
Remove 173 bunch files
2019-01-14 21:29:02 +03:00
Vyacheslav Gerasimov
96c21297b6
Remove 173 and AS 3.1 from .bunch
2019-01-14 21:29:02 +03:00
Yan Zhulanow
e4087b5a7a
Fix testJavacIsLoadedOnce() kapt integration test
2019-01-14 17:41:09 +03:00
Max Medvedev
99ffcda5fc
Type hints: don't show hint for qualified constructor calls or enum cases
...
#KT-29196 fixed
2019-01-14 17:23:45 +03:00
Denis Zharkov
2a156fe90c
Do not check target when generating bridges with default impl
...
In many other places, e.g. org.jetbrains.kotlin.codegen.ClassBodyCodegen#generateDelegatesToDefaultImpl
we implicitly assume that whenever we use a default interface method
our target is 1.8
But here, we don't and it might lead to exception in org.jetbrains.kotlin.backend.common.bridges.BridgesKt#findConcreteSuperDeclaration
when actual target is 1.6 and we extend some AbstractMap implementation
with JDK8 (i.e., with @PlatformDependent getOrDefault)
2019-01-14 14:54:18 +03:00
Denis Zharkov
5ec93f2718
Avoid assertion in bridges-generation for light classes
...
^KT-11656
2019-01-14 14:54:18 +03:00