Ilmir Usmanov
69bb65496f
IC Mangling: Change test since we pass boxed inline class to java method
...
#KT-28214
2020-12-11 17:51:34 +01:00
Ilmir Usmanov
cbb8eb494a
IC Mangling: Do not mangle functions with inline classes from Java
...
in JVM_IR BE. Map types to boxed variants, when mapping signatures.
#KT-26445
2020-12-11 17:51:32 +01:00
Ilmir Usmanov
0cab69a7a0
IC Mangling: Do not mangle functions with inline classes from Java
...
in old JVM BE. Map types to boxed variants, when mapping signatures.
#KT-26445
2020-12-11 17:51:30 +01:00
Denis.Zharkov
5aaaa3881d
Refine diagnostic text for NULLABLE_TYPE_PARAMETER_AGAINST_NOT_NULL_TYPE_PARAMETER
...
^KT-43225 Fixed
2020-12-11 14:22:40 +03:00
Mikhael Bogdanov
b143cb9ae5
Disable new test on WASM
2020-12-11 06:36:42 +01:00
Mads Ager
c922484758
[JVM_IR] Use direct field access to backing fields on current class.
...
The current backend uses direct field access to the backing field
instead of calling the companion object accessor, which calls
an accessibility bridge, which then gets the field for code such as:
```
class A {
companion object {
val s: String = "OK"
}
// f uses direct access to the A.s backing field.
fun f() = s
}
```
This change does the same for the IR backend.
2020-12-11 06:24:55 +01:00
Nikolay Krasko
1d14926444
Re-enable evaluation tests in 201 platform
...
Revert `[DEBUGGER] Temporary mute AbstractKotlinEvaluateExpressionTest`
(85c59328c7 ) in 201 bunch.
2020-12-10 22:50:57 +03:00
Vyacheslav Gerasimov
1bc369c63c
Build: Enable caching for test task with enabled test distribution
...
#KTI-112
2020-12-10 22:02:24 +03:00
Jinseong Jeon
8f2ad57f7a
FIR: pass elvis expected type to lhs/rhs
2020-12-10 20:52:49 +03:00
pyos
41f56729f9
FIR: serialize correct fqnames for local classes
2020-12-10 20:52:48 +03:00
pyos
12f936f6b7
FIR2IR: do not approximate reified type arguments to super class
2020-12-10 20:52:46 +03:00
Jinseong Jeon
148d540580
FIR checker: make unused checker visit qualified accesses in annotations
...
#KT-43687 Fixed
2020-12-10 20:52:45 +03:00
pyos
5efe774dba
FIR: remap Java meta-annotations to Kotlin equivalents
...
This is a direct port of JavaAnnotationMapper from the old frontend.
2020-12-10 20:52:43 +03:00
Ilya Kirillov
a9ad85f306
FIR IDE: temporary mute find usages test as it fails because of incorrect resolve of init blocks
2020-12-10 17:55:50 +01:00
Ilya Kirillov
170928f498
FIR IDE: allow type rendering only in analysis session
2020-12-10 17:54:21 +01:00
Ilya Kirillov
f30c6bf86a
FIR IDE: rework KtCall to work with error cals
2020-12-10 17:54:20 +01:00
Vyacheslav Gerasimov
e6327ef490
Build: Enable test distribution for :js:js.tests:test task
2020-12-10 19:42:32 +03:00
Vyacheslav Gerasimov
06fd7f8526
Build: Add helper to configure gradle test distribution
2020-12-10 19:42:32 +03:00
Vyacheslav Gerasimov
7bbb738a71
Build: Cleanup :js:js.tests buildscript
2020-12-10 19:42:32 +03:00
Vyacheslav Gerasimov
d43af46bf4
Build: Add V8 engine & repl.js to js tests inputs
2020-12-10 19:42:31 +03:00
Mads Ager
fadedc84db
[JVM_IR] Refactor and add bytecode text tests for compose-like code.
...
Tests that the default argument mask is not in the local variable
table.
2020-12-10 17:22:18 +01:00
Mads Ager
83588e9f22
[JVM_IR] Add tests of Compose-like default argument handling.
2020-12-10 17:22:18 +01:00
Mads Ager
a7efa5c98b
[IR] Fix remapping of arguments in LocalDeclarationsLowering.
...
It only remapped arguments for IrGetValue and not for IrSetValue.
This is hitting Compose which has non-standard default argument
handling.
2020-12-10 17:22:18 +01:00
Ilya Goncharov
167e60b9fb
[JS IR] Assert createdOn equals 0 for properties initialization fun for file
2020-12-10 18:07:50 +03:00
Dmitry Petrov
5be28520fc
JVM_IR KT-43851 preserve static initialization order in const val read
2020-12-10 17:55:13 +03:00
Dmitry Petrov
b0ef6ee1fc
JVM_IR Minor: refactor rawType
2020-12-10 17:55:13 +03:00
Denis.Zharkov
f4a25066a8
Fix freshly added CLI tests for windows agents
2020-12-10 16:15:29 +03:00
Mikhail Glukhikh
dd66da7c65
Optimize FirJavaSyntheticNamesProvider.possibleGetterNamesByPropertyName
2020-12-10 15:29:46 +03:00
Mikhail Glukhikh
6d545fc281
Make FirTowerLevel an abstract class
2020-12-10 15:29:46 +03:00
Mikhail Glukhikh
34d7a7c184
FIR tower levels: inline processElementsByName[AndStoreResult]
2020-12-10 15:29:46 +03:00
Mikhail Glukhikh
af4941b222
[FIR] Drop delayedNode from ControlFlowGraph.orderNodes
2020-12-10 15:29:45 +03:00
Mikhail Glukhikh
7b277600a9
Optimize/simplify loadFunctions(Properties)ByName in FIR deserializer
2020-12-10 15:29:45 +03:00
Mikhail Glukhikh
e51503ab42
Code cleanup: KotlinDeserializedJvmSymbolsProvider
2020-12-10 15:29:45 +03:00
Mikhail Glukhikh
1383e923ea
Drop KotlinDeserializedJvmSymbolsProvider.findRegularClass
2020-12-10 15:29:45 +03:00
Mikhail Glukhikh
7e99f0ee23
Optimize ConeInferenceContext.typeDepth a bit
2020-12-10 15:29:44 +03:00
Mikhail Glukhikh
67c7b5ca0a
Optimize/simplify FirAbstractImportingScope.getStaticsScope
2020-12-10 15:29:44 +03:00
Mikhail Glukhikh
d90cc452fe
Simplify: FirSymbolProvider.getClassDeclaredPropertySymbols
2020-12-10 15:29:44 +03:00
Mikhail Glukhikh
e344d9e438
Drop unused functions from FirBuiltinSymbolProvider
2020-12-10 15:29:44 +03:00
Mikhail Glukhikh
bb0410b143
[FIR] Drop unused utility functions from StandardTypes.kt
2020-12-10 15:29:43 +03:00
Yunir Salimzyanov
f88d51613f
Remove old 193 and as40 bunches
2020-12-10 14:57:16 +03:00
Mikhail Glukhikh
bf8de487a0
CliTrace: rewrite smart cast-vulnerable piece of code
2020-12-10 13:02:49 +03:00
LepilkinaElena
c8c83c04c0
[IR] Fix saving function calls during inlining const properties in PropertyAccessorInlineLowering ( #3971 )
2020-12-10 12:24:23 +03:00
Ilmir Usmanov
dccfb33bcc
JVM_IR: Unbox argument of type kotlin.Result
...
if the argument has different type in parent: either generic or Any.
#KT-41163 Fixed
#KT-43536 Fixed
2020-12-10 08:27:32 +01:00
Ilmir Usmanov
775d610045
Value classes: Forbid any identity equality check on value class
...
#KT-31130 Fixed
2020-12-10 08:24:48 +01:00
Denis.Zharkov
7e088457a2
Temporary clear sinceVersion for ProhibitUsingNullableTypeParameterAgainstNotNullAnnotated
...
^KT-36770 Related
^KT-26245 Related
2020-12-10 10:20:30 +03:00
Dmitriy Novozhilov
dbc85a5f18
[TEST] Fix compilation of CodegenTestsOnAndroidGenerator.kt
2020-12-10 01:31:05 +03:00
Dmitriy Novozhilov
b416c669b0
[TEST] Update testdata due to dropped COMMON_COROUTINE_TEST directive
2020-12-10 01:31:04 +03:00
Dmitriy Novozhilov
aacf934b49
[TEST] Drop machinery about experimental coroutines from compiler tests
2020-12-10 01:31:02 +03:00
Dmitriy Novozhilov
8c4b7ad1e1
[TEST] Drop generating tests for coroutines of Kotlin 1.2
2020-12-10 01:31:01 +03:00
Vyacheslav Gerasimov
0389589d83
Build: Setup inputs and outputs for :js:js-tests:test task properly
...
All task inputs should be declared and separated from outputs produced
by it (e.g. node modules and js compile outputs) to make gradle test
distribution work
2020-12-10 00:17:27 +03:00