Anton Lakotka
cb103dae75
[Gradle] Don't show false positive warning about old hmpp flags
...
When HMPP is enabled by default it is still printing warnings about
enableDependencyPropagation and enableGranularSourceSetsMetadata flags
#KT-48818 Fixed
2021-10-25 08:05:25 +00:00
Ilya Muradyan
a22c8c8f2f
[scripting] Fix script resolver options parsing
...
#KT-49400 Fixed
2021-10-25 04:15:35 +03:00
Ivan Kylchik
8a1362de03
[JS TESTS] Rewrite web demo tests using new test infrastructure
2021-10-25 00:14:21 +03:00
Dmitriy Novozhilov
af0e40a0d2
[JS Test] Support RECOMPILE directive in js box tests in new infrastructure
2021-10-25 00:14:21 +03:00
Ivan Kylchik
13d3b7c0b8
[JS TESTS] Move generation of js tests to GenerateJsTests
2021-10-25 00:14:20 +03:00
Ivan Kylchik
225b064470
Implement new 'mix' test mode
...
This mode must be used when one configuration will run several tests
for different JUnit versions.
2021-10-25 00:14:20 +03:00
Ivan Kylchik
a2d2ace71a
[JS TESTS] Rewrite js tests using new test infrastructure
2021-10-25 00:14:20 +03:00
Ivan Kylchik
4deab9693e
[JS TESTS] Remove LANGUAGE_VERSION directive
...
Some of them are not necessary at all, others can be replaced with
`!LANGUAGE` directive with exclusion of corresponding features.
2021-10-25 00:14:20 +03:00
Ivan Kylchik
9c3e93024b
[JS TESTS] Explicitly specify module name for typescript-export tests
2021-10-25 00:14:19 +03:00
Ivan Kylchik
3e1563d46e
[JS TESTS] Rename JS_TESTS module to main
2021-10-25 00:14:19 +03:00
Ivan Kylchik
32e6d3908d
[JS TESTS] Move MODULE_KIND directive to module level
2021-10-25 00:14:19 +03:00
Ivan Kylchik
aaab22a675
[JS TESTS] Move dependency modules higher than main in test files
2021-10-25 00:14:19 +03:00
Ivan Kylchik
2bea77d4e2
[JS TESTS] Replace - symbol in module name with _
2021-10-25 00:14:19 +03:00
Ivan Kylchik
3cbeb08f79
[JS TESTS] Drop unused additionalCommonFileDirectories property
2021-10-25 00:14:19 +03:00
Ivan Kylchik
0d02b1d51c
[TESTS] Remove ignore js backend directive from some tailRecursion tests
...
These tests were falling due to inserted diagnostics. New test
infrastructure can remove them before running test.
2021-10-25 00:14:19 +03:00
Ivan Kylchik
f4bbcdc013
[TESTS] Move global directives outside file scope
2021-10-25 00:14:19 +03:00
Ivan Kylchik
596cbdfb71
[TESTS] Remove jvm specific annotations from coroutine helpers
2021-10-25 00:14:18 +03:00
Ivan Kylchik
410a6e7ef8
[TESTS] Change pattern for module name
...
For now, it is allowed to use any characters, except for round brackets
and new line.
2021-10-25 00:14:18 +03:00
Tianyu Geng
8bec5cec61
FIR LL: fix KtDeclarationAndFirDeclarationEqualityChecker
...
1. Nullable function type is not rendered correctly.
2. Bounds of type parameters are not considered during comparison, this
would incorrectly treat different declarations as the same, for
example
```
fun <C: List<String>> C.foo() {}
fun <C: Set<String>> C.foo() {}
```
2021-10-23 15:33:32 +02:00
Tianyu Geng
f23256bf49
FIR: filter out builtin symbols in JvmClassFileBasedSymbolProvider
...
These symbols are already provided by FirBuiltinSymbolProvider.
2021-10-23 15:33:31 +02:00
Tianyu Geng
5a1680ca3b
FIR LL: fix resolving proerties in library
...
Property can be overloaded with different extension receiver type.
2021-10-23 15:33:31 +02:00
Dmitry Petrov
b03c9b6fc6
JVM_IR additional tests for indy lambda serialization
2021-10-23 11:21:27 +03:00
Dmitry Petrov
6e9cbf52b1
JVM_IR make $deserializeLambda$ method synthetic
2021-10-23 11:21:26 +03:00
Dmitry Petrov
1dbbe22c8c
JVM_IR serializable indy method references
2021-10-23 11:21:25 +03:00
Dmitry Petrov
eec16b83c6
Minor: reformat and fix warnings
2021-10-23 11:21:23 +03:00
Svyatoslav Kuzmich
4fc461a2ff
[Wasm] Imporove external interface support
...
* Support boxing/unboxing when casting to Any
* Support ===, equals, hashCode, toString
* Support adapting String in interop boundary
2021-10-23 01:26:12 +03:00
Svyatoslav Kuzmich
baa53b5cf3
[Wasm][Stdlib] Use array copy in String.toCharArray()
...
And don't use copy during internal non-mutating algorithms
2021-10-23 01:26:11 +03:00
Mikhail Glukhikh
79b98f9173
FIR: introduce synthetic property symbol hierarchy
2021-10-23 01:19:07 +03:00
Mikhail Glukhikh
c673c4cc91
FIR: refactor/use properly FirAccessorSymbol & FirSyntheticPropertySymbol
2021-10-23 01:19:06 +03:00
Mikhail Glukhikh
41849c8beb
FIR: get rid of effectively unused AccessorSymbol
2021-10-23 01:19:05 +03:00
Mikhail Glukhikh
7b9ac4c5f7
FIR: create constructors copies with correct containers in JvmMappedScope
...
#KT-49133 Fixed
2021-10-23 01:17:10 +03:00
Ilya Gorbunov
a2b9c2bd78
Document Regex constructor using "u" flag in JS #KT-46694
2021-10-22 11:51:48 +00:00
Ilya Gorbunov
9456cd0f5d
Improve Duration docs
...
- Document overflow situation in general
- Document possible rounding in operations involving Double
- Update kotlin.time package description
2021-10-22 11:51:48 +00:00
Alexander Likhachev
e9c8135dfa
[Gradle] Add Gradle & task property to set compiler execution strategy
...
#KT-49299 Fixed
2021-10-22 09:57:54 +00:00
Alexander Likhachev
b4cb7f3610
[Gradle, JS] Make packageJsonHandlers compatible with configuration cache
...
#KT-49061 Fixed
2021-10-22 09:57:54 +00:00
Alexander Likhachev
6a6cc1db77
[Gradle, JS] Add custom package json into configuration cache IT
...
#KT-49061 In Progress
2021-10-22 09:57:53 +00:00
Alexander Likhachev
1160e3875a
[Gradle] Declare kotlin.caching.enabled system property read
...
#KT-49107 Fixed
2021-10-22 09:57:53 +00:00
Alexander Likhachev
f9d4e0639c
[Gradle, JS] Reduce KotlinJsTest configuration cache footprint
...
#KT-49095 Fixed
2021-10-22 09:57:52 +00:00
Pavel Punegov
6ccfd974fa
[K/N][build] Add comment, describing the copying of endorsed libs
2021-10-22 09:29:22 +00:00
Pavel Punegov
56d34bfd53
[K/N][build] KonanCacheTask: get rid of lateinit in input directory
2021-10-22 09:29:22 +00:00
Pavel Punegov
a003d804d2
[K/N][build] Use Map for cached libraries
2021-10-22 09:29:21 +00:00
Pavel Punegov
567dac0719
[K/N][build] Small fixes to KonanCacheTask
2021-10-22 09:29:21 +00:00
Pavel Punegov
ac5e818c26
[K/N][build] Put get to input annotations
2021-10-22 09:29:20 +00:00
Pavel Punegov
3183b7a499
[K/N][build] Fix endorsed libs dependencies
2021-10-22 09:29:20 +00:00
Pavel Punegov
42aa8b1337
[K/N][build] the field was protected but why
2021-10-22 09:29:19 +00:00
Pavel Punegov
bc89921fdd
[K/N][build] Fix cache location
2021-10-22 09:29:19 +00:00
Pavel Punegov
634812f96f
[K/N][build] Split stdlib and endorsed libraries build and caching
...
Due to the usage of dist as an input and output at the same time by
different tasks Gradle issued warning about Execution optimizations
turning off. The fix is to split inputs and outputs in the build and
cache tasks of stdlib and endorsed libs.
2021-10-22 09:29:19 +00:00
Yahor Berdnikau
ae2d447ef4
Update KGP tests readme.
...
Reflect actual test setup information.
^KT-45745 In Progress
2021-10-22 07:18:43 +00:00
Yahor Berdnikau
2b53965f11
Add tasks and annotations for Gradle/Jvm and Gradle/Js tests.
...
We will split our tests into supported platforms, like JVM, Js, etc...
Tests for supported Gradle features should be added per platform.
To run any test (except daemons) also "all" task was added.
^KT-45745 In Progress
2021-10-22 07:18:43 +00:00
Dmitry Petrov
d5f6674d2d
JVM_IR KT-49335 run RepeatedAnnotationLowering per module
...
Otherwise, we drop annotation constructors in AnnotationLowering,
which breaks RAL in case of annotation container declared in different
file.
2021-10-21 21:22:36 +03:00