Ivan Kochurkin
f046f2964b
[FIR] Add PLATFORM_CLASS_MAPPED_TO_KOTLIN
2021-11-24 23:13:41 +03:00
Ivan Kochurkin
51b73bb6ae
[FIR] Add REDUNDANT_NULLABLE diagnostics
2021-11-24 23:13:40 +03:00
Ivan Kochurkin
4caf3c5e83
[FIR] Add NOT_A_CLASS diagnostics
2021-11-24 23:13:40 +03:00
Ivan Kochurkin
aff885bcd1
[FIR] Prevent potential exponent complexity in isValidTypeParameterFromOuterDeclaration
2021-11-24 23:13:39 +03:00
Ivan Kochurkin
3beb447e85
[FIR] Consider anonymous object declarations in classDeclarationsStack in transformers
2021-11-24 23:13:38 +03:00
Ivan Kochurkin
b83ed7a6ed
[FIR] Fix KtExpression.usedAsExpression for labeled expression
2021-11-24 23:13:37 +03:00
Ivan Kochurkin
c92c77638a
[FIR] Use CharSequence instead of String in getRawIdentifier to avoid extra string allocations
2021-11-24 23:13:36 +03:00
Ivan Kochurkin
2241887b8f
[FIR] Drop RESOLVED_TO_UNDERSCORE_NAMED_CATCH_PARAMETER, always resolve to UNRESOLVED_REFERENCE
2021-11-24 23:13:35 +03:00
Nikolay Krasko
1150d51bf2
Revert dependencies needed for junit in kotlin-test-junit5
...
junit-jupiter-api-5.0.0.jar
junit-jupiter-engine-5.2.0.jar
2021-11-24 19:35:36 +03:00
Nikolay Krasko
4e806a6322
Bump junit-bom in our project 5.7.0 -> 5.8.1 and clean up old versions
2021-11-24 19:35:35 +03:00
Nikolay Krasko
7457d54360
Drop junit 3.8.1 dependency
...
junit:junit:3.8.1
org.codehaus.plexus:plexus-container-default:1.0-alpha-9-stable-1
org.apache.maven:maven-artifact-manager:2.2.0
org.apache.maven:maven-project:2.2.0
org.apache.maven.shared:maven-dependency-tree:2.1
org.jetbrains.kotlin:jcabi-aether:1.0-dev-3
:kotlin-script-util compileClasspath
2021-11-24 19:35:34 +03:00
Nikolay Krasko
84a189b6cc
Update transitive dependency for kotlin-test - junit 4.12 -> 4.13.2
2021-11-24 19:35:33 +03:00
Nikolay Krasko
317b0b4495
Update junit dependency 4.12 -> 4.13.2 in tests
2021-11-24 19:35:32 +03:00
Nikolay Krasko
af8faadca5
Update internal project junit dependency 4.12 -> 4.13.2
2021-11-24 19:35:31 +03:00
Glen K. Peterson
25d962b591
Bumped Junit dependency to fix CVE-2020-15250
...
Junit >= 4.7 and < 4.13.1 is vulnerable to https://nvd.nist.gov/vuln/detail/CVE-2020-15250 Sorry, I didn't build or test this change.
2021-11-24 19:35:30 +03:00
Nikolay Krasko
1cb456aa66
Cleanup some guava versions from verification-metadata.xml
2021-11-24 19:35:29 +03:00
Nikolay Krasko
5e04085592
Forgotten md5 values in verification-metadata.xml
...
^KTI-649 Fixed
2021-11-24 19:35:26 +03:00
Nikolay Krasko
58d7bd0baf
Minor: clean up warnings in ScriptUtilIT
2021-11-24 19:35:24 +03:00
Nikolay Krasko
af185ab870
Remove couple scripting tests commented for 2 years
...
There're similiar tests:
hello-resolve-junit-dynver.main.kts
hello-resolve-junit-dynver-error.main.kts
2021-11-24 19:35:23 +03:00
Yahor Berdnikau
9d686165fc
Add test tag and task for KGP Android tests.
...
^KT-45747 In Progress
2021-11-24 17:20:24 +01:00
Yahor Berdnikau
2c7913627d
Add test tag and task for KGP MPP tests.
...
^KT-45749 In Progress
2021-11-24 17:20:21 +01:00
Dmitry Petrov
91b1814b02
FIR2IR insert implicit cast on elvis RHS
2021-11-24 16:19:11 +00:00
Dmitry Petrov
badfade2fd
FIR2IR strip FlexibleNullability on IMPLICIT_NOTNULL
2021-11-24 16:19:10 +00:00
Dmitriy Novozhilov
196f087b54
Advance bootstrap to 1.6.20-dev-5822
2021-11-24 17:53:08 +03:00
Mikhail Glukhikh
0058d7e3d6
Add BB test for problem fixed with c2ab91d0
2021-11-24 15:30:33 +03:00
Ilya Goncharov
1481ad21f5
Enum implementing exported interface
...
[JS IR] Not export get instance enum function
[JS IR] Enum corresponding class is not considered in export
[JS IR] All enums are abstract and with private constructor
[JS IR] Any methods is left in d.ts
[JS IR] Make enum with declarations inside corresponding class
[JS IR] Export of interface through fake override
[JS IR] Include enum entry corresponding class members into export model
Merge-request: KT-MR-5031
^KT-49779 fixed
^KT-49773 fixed
2021-11-24 12:25:50 +00:00
Alexander Likhachev
4181429c7e
[Gradle, JS] Add missing dependsOn on kotlinNpmCachesSetup task
...
It's already was not causing the build failure because of changes related to persisted yarn.lock but this fix is more reliable.
Also hidden `kotlinNpmCachesSetup` task by unsetting task group as it's not supposed to be executed directly and moreover direct execution makes no sense.
#KT-47215 Fixed
2021-11-24 14:49:28 +03:00
Nikolay Lunyak
8d647fa016
[FIR] KT-49265: Fix implicit visibility checks
2021-11-24 14:44:50 +03:00
Igor Chevdar
8b859e6558
[gradle] Added option to customize class loaders map
...
This will be used in the K/N build for automatic cleaning of the daemon
2021-11-24 16:08:33 +05:00
Dmitriy Dolovov
9c1c1805a3
[Native][tests] Log test process stdout/stderr when failed on timeout
2021-11-24 13:30:21 +03:00
Dmitriy Dolovov
3e0761b4fc
[Native][tests] Minor. Refactor AbstractRunner.RunResult
2021-11-24 13:30:15 +03:00
Dmitriy Dolovov
1d721f03b2
[Native][tests] Destroy test process that has not finished on time
2021-11-24 13:30:09 +03:00
Pavel Kunyavskiy
98fa69c3d5
[K/N] Remove hack from suspend function inheritance to allow export
...
Before that commit, function in coroutine implementation class was
override for both SuspendFunctionN's and FunctionN+1's invoke,
which somehow works, but breaks exporting classes with such functions.
Now it's two separate functions, as it should be normally.
^KT-49395
2021-11-24 07:54:51 +00:00
Dmitriy Dolovov
536bfe5bf9
[Native][tests] Use more compact paths to produced binaries
2021-11-24 10:25:16 +03:00
Dmitriy Dolovov
34627633c4
[Native][tests] Add an ability to fail tests on exceeded timeout
2021-11-24 10:25:10 +03:00
Dmitriy Dolovov
a2ad9026a6
[Native][tests] Make file content comparison to be OS-neutral
2021-11-24 10:25:04 +03:00
Dmitriy Dolovov
bd3ae12e0a
[Native][tests] Minor. Update comments for TestModule/TestCase/TestCaseGroup
2021-11-24 10:24:59 +03:00
Dmitriy Dolovov
7ea66076eb
[Native][tests] Minor. Rename effectivePackageName to nominalPackageName
2021-11-24 10:24:52 +03:00
Dmitriy Dolovov
3fa5363434
[Native][tests] Fix sanitization of logged command-line arguments
2021-11-24 10:24:42 +03:00
Ilya Gorbunov
d7c31fbe82
Disregard PlatformImplementation class loaded from parent classloader
...
Such type cannot be cast to a base type, if the former is loaded from
a different, parent classloader.
#KT-47857 Fixed
Co-authored-by: Aleksei.Cherepanov <aleksei.cherepanov@jetbrains.com >
2021-11-24 01:59:48 +03:00
Mikhail Glukhikh
c2ab91d048
Drop not enhanced Java static methods in Fir2IrLazyClass
2021-11-23 21:56:05 +03:00
Ilya Kirillov
e12479dd89
FIR IDE: fix access to unresolved type parameter
2021-11-23 19:08:59 +03:00
Ilya Goncharov
ffbf2ea1a5
[Gradle, JS] Remove redundant build.gradle modification in test
2021-11-23 18:48:33 +03:00
Mads Ager
8255118204
[JVM] Do not extend local ranges across control-flow merges.
...
The coroutine method transformer extends the range of locals
across code where the local is not live when it is safe to do
so. However, it only bailed out for one case of control-flow
merging, namely backwards branches for loops. That is not
sufficient as there can be control flow merges without loops
where the local is only defined on one control-flow path.
This change generalizes the bailout to any control-flow merge.
^KT-49834 Fixed
2021-11-23 13:49:45 +01:00
Ilya Kirillov
8ace9e45b9
LL API: unmute passing test
2021-11-23 15:41:03 +03:00
pyos
001ddda935
IR/Android: place the cache field first
...
to avoid NPEs if it is used during instance initialization.
2021-11-23 13:39:11 +01:00
Dmitry Petrov
55d1fdfbc2
JVM_IR prevent clash of unsubstituted special bridges
2021-11-23 12:05:13 +00:00
Dmitriy Novozhilov
1e98748e0b
[Test] Increase timelimit for running separate jvm process in box tests
...
Timelimit is increased from 1.5 to 3 minutes because in some cases
(in parcelize tests) on windows tests can don't fit in 1 minute
limit, which causes flaky failures of tests
Value of 3 minutes is taken from old parcelize tests
2021-11-23 15:01:37 +03:00
Dmitriy Novozhilov
ae967ec31b
[FIR] Fix detecting version of plugin annotations if it differs from 1.6.255-SNAPSHOT
2021-11-23 15:01:36 +03:00
Dmitriy Novozhilov
edb62e247f
[FIR] Drop redundant class from fir plugin annotations module
2021-11-23 15:01:35 +03:00