Georgy Bronnikov
bb4950a021
Regenerate LightAnalysis tests
2020-12-01 16:01:48 +03:00
Dmitriy Novozhilov
91bccad72b
[JS] Fix path of generated js tests
2020-12-01 15:43:25 +03:00
Mikhail Glukhikh
7550a1870b
[FIR2IR] Make checks about f/o accessors necessity more precise
...
#KT-43342 Fixed
2020-12-01 14:23:19 +03:00
Ilya Goncharov
b179b567a9
[Gradle, JS] Add test on resolution of js project with directory dependency
...
^KT-43668 fixed
2020-12-01 14:12:39 +03:00
Alexander Udalov
2fdc2dfaaf
JVM IR: fix regression in JvmStatic-in-object lowering for properties
...
References to properties with JvmStatic getter were not handled in
MakeCallsStatic (by overwriting dispatchReceiver with null) because the
property itself was not considered static.
#KT-43672 Fixed
2020-12-01 11:54:45 +01:00
Georgy Bronnikov
4607eca987
JVM_IR: bug fix in classFileContainsMethod
...
The old test sequence failed for toplevel functions because of file
class wrappers, so that the second branch was never invoked.
2020-12-01 13:15:51 +03:00
Roman Golyshev
f50480d258
FIR IDE: Fix resolving of nested types in type references
2020-12-01 09:24:20 +00:00
Roman Golyshev
94a5379631
FIR IDE: Add tests for resolving from nested types references
...
Some of those tests are failing in the FIR IDE
2020-12-01 09:24:20 +00:00
Alexander Udalov
19ca9c0fde
Enable JVM IR for bootstrap in the project
2020-11-30 22:09:24 +01:00
Alexander Udalov
606de26646
JVM IR: fix generation of equals/hashCode for fun interfaces over references
...
... in case `-Xno-optimized-callable-references` is enabled. Before this
change, the generated abstract equals/hashCode methods were considered
as accidental overrides because they did not have equals/hashCode from
the supertype in the overriddenSymbols list.
#KT-43666 Fixed
2020-11-30 19:15:20 +01:00
pyos
50ae360ff9
FIR2IR: fix the way annotations are moved to fields
...
1. When an annotation has multiple targets, the priority goes like this:
constructor parameter (if applicable) -> property -> backing field.
2. The argument to `kotlin.annotation.Target` is a vararg, so that
should be handled as well.
3. `AnnotationTarget.VALUE_PARAMETER` allows receivers, constructor
parameters, and setter parameters, while `AnnotationTarget.FIELD` allows
both backing fields and delegates.
Known issue: java.lang.annotation.Target is not remapped to the Kotlin
equivalent, so things are still broken for pure Java annotations.
2020-11-30 20:29:18 +03:00
Andrei Klunnyi
4817d5e01d
KTIJ-585 [Gradle Runner]: main() cannot be launched from AS 4.1
...
Android gradle-project model differs from what we have for pure Java
and MPP. It's the reason why application classpath cannot be collected
correctly.
Until universal solution is provided delegation to gradle is put under
the registry flag. If disable platform runner is used as before.
2020-11-30 15:44:37 +00:00
Ilya Goncharov
995d96e5a3
[JS IR] Use one concat elements for non vararg and vararg arguments
...
^KT-42357 fixed
2020-11-30 17:34:44 +03:00
Ilya Goncharov
67e4b0948e
[JS IR] Constructor call with vararg invoking with apply
...
[JS IR] Nullize external empty varargs
[JS IR] Concat varargs with array of nonVarargs arguments
^KT-42357 fixed
2020-11-30 17:33:28 +03:00
Ilya Goncharov
ac42dcd8da
[JS IR] Add test for external fun vararg
...
[JS IR] Add tests with empty vararg and default arg before it
[JS IR] Ignore backend in tests instead of target backend
[JS IR] Add function with named spread operator
[JS IR] Remove ignoring of current js backend in jsExternalVarargFun
[JS IR] Add with arguments after vararg
^KT-42357 fixed
2020-11-30 17:33:07 +03:00
Ilya Goncharov
e7789d2e30
[Gradle, JS] Add filter on file on fileCollectionDependencies because Gradle can't hash directory
...
^KT-43668 fixed
2020-11-30 17:04:30 +03:00
Dmitry Petrov
96ed99d62e
JVM_IR KT-40305 no nullability assertions on built-in stubs
2020-11-30 15:49:02 +03:00
Dmitry Petrov
b2aed536c9
JVM_IR KT-39612 process subexpressions recursively in 'name' lowering
2020-11-30 15:49:02 +03:00
Dmitry Petrov
3b604cfa7f
JVM_IR KT-32701 generate multiple big arity invokes, report error later
2020-11-30 15:49:02 +03:00
Dmitry Petrov
a157b58c61
JVM_IR KT-43610 keep track of "special bridges" for interface funs
2020-11-30 15:49:01 +03:00
Dmitriy Novozhilov
c43db2ee8d
[TEST] Inherit UpdateConfigurationQuickFixTest from KotlinLightPlatformCodeInsightFixtureTestCase
...
This is needed for proper test muting
2020-11-30 15:39:05 +03:00
Alexander Udalov
7d9eeb6847
Minor, add workaround for KT-42137
2020-11-30 12:44:42 +01:00
Alexander Udalov
e1d54bf99f
Minor, add workaround for KT-43666
2020-11-30 12:37:27 +01:00
Mikhael Bogdanov
ad579de328
Don't run KaptPathsTest.testSymbolicLinks test on Windows
2020-11-30 12:17:00 +01:00
Dmitriy Novozhilov
d706a7ff74
Build: mute failing tests
...
Those tests are failing only on windows agents after
switch to 202 platform
2020-11-30 13:40:29 +03:00
pyos
1cccf2645f
FIR: serialize HAS_CONSTANT at least for const properties
...
Non-const properties may need them too with if the 1.4 feature
NoConstantValueAttributeForNonConstVals is disabled.
2020-11-30 13:05:28 +03:00
Mikhail Glukhikh
04d9afe83e
FIR Java: add workaround for classId = null in JavaAnnotation
2020-11-30 13:05:27 +03:00
Mikhail Glukhikh
feb13f98c0
[FIR2IR] Handle Java annotation parameter mapping properly
...
#KT-43584 Fixed
2020-11-30 13:05:26 +03:00
Mikhail Glukhikh
9b30655d66
[FIR] Load Java annotations named arguments properly (see KT-43584)
2020-11-30 13:05:23 +03:00
Roman Golyshev
e6f380182a
Revert "FIR IDE: Add tests for resolving from nested types references"
...
This reverts commit e127ea3d
2020-11-30 12:37:40 +03:00
Roman Golyshev
f8b6559b6a
Revert "FIR IDE: Fix resolving of nested types in type references"
...
This reverts commit dba14ba9
2020-11-30 12:37:26 +03:00
Roman Golyshev
dba14ba995
FIR IDE: Fix resolving of nested types in type references
2020-11-30 09:26:15 +00:00
Roman Golyshev
e127ea3dad
FIR IDE: Add tests for resolving from nested types references
...
Some of those tests are failing in the FIR IDE
2020-11-30 09:26:15 +00:00
Mikhael Bogdanov
8a00470b40
Enable kotlin-annotation-processing-base tests on TC
2020-11-30 10:06:22 +01:00
Sergey Bogolepov
29bed39a54
Bump to native version version with watchos_x64 enabled
2020-11-30 14:01:12 +07:00
Sergey Bogolepov
37ee2cbe53
[KT-43276] Update tests to support watchos_x64
2020-11-30 14:01:12 +07:00
Sergey Bogolepov
d6f54a7730
[KT-43276] Fix watchos target shortcut.
2020-11-30 14:01:12 +07:00
Sergey Bogolepov
f3424a98b7
generateMppTargetContainerWithPresets: remove unneeded hack
2020-11-30 14:01:12 +07:00
Sergey Bogolepov
e39560b134
[KT-43276] Add watchos_x64 target
2020-11-30 14:01:12 +07:00
Ilya Gorbunov
0634351fbc
Introduce pathString/absolute/absolutePathString
...
Rename invariantSeparatorsPath to invariantSeparatorsPathString
to have more consistent names of methods returning path strings.
KT-19192
2020-11-29 17:46:47 +03:00
Ilya Gorbunov
84f5a294f7
Allow passing null parent directory to createTempFile/Directory
...
null signifies the default temp directory.
KT-19192
2020-11-29 17:46:47 +03:00
Ilya Gorbunov
64d85f259c
Relax writeText/appendText parameter type to CharSequence
...
KT-19192
2020-11-29 17:46:47 +03:00
Pavel Punegov
2ee8bf7dde
Add fastutil dependency for 202 and higher platforms
2020-11-28 14:26:01 +03:00
Dmitriy Novozhilov
f668e906cc
Build: unmute passed tests
2020-11-28 14:26:01 +03:00
Dmitriy Novozhilov
e7d305b97a
Build: mute failing stepping tests
2020-11-28 14:26:00 +03:00
Dmitriy Novozhilov
78c786de46
Build: Mute failing goto declaration tests
2020-11-28 14:26:00 +03:00
Dmitriy Novozhilov
33b545aea7
Build: Mute failing gradle import with android tests
2020-11-28 14:25:59 +03:00
Dmitriy Novozhilov
85c59328c7
[DEBUGGER] Temporary mute AbstractKotlinEvaluateExpressionTest
2020-11-28 14:25:59 +03:00
Vladimir Dolzhenko
3d33ea7da8
Use absolute paths to locate existed projects to open in AbstractConfigureKotlinTest
2020-11-28 14:25:58 +03:00
Vladimir Dolzhenko
124888eb43
Revert back AddFunctionParametersFix test data output for 201-
2020-11-28 14:25:58 +03:00