Dmitry Petrov
2b9606becf
JVM_IR: field for suspend main parameter is synthetic
2020-07-20 20:04:31 +03:00
Dmitry Petrov
7be9b18ff4
JVM: field for suspend main parameter is synthetic
2020-07-20 20:04:31 +03:00
Dmitry Petrov
6bc44a366a
JVM_IR: fields for suspend lambda parameters are synthetic
2020-07-20 20:04:31 +03:00
Dmitry Petrov
bae6037f00
JVM: fields for suspend lambda parameters are synthetic
2020-07-20 20:04:31 +03:00
Dmitry Petrov
fa75518bd7
JVM_IR: don't skip nullability annotations on private fields
...
Unfortunately, some annotation processors rely on those annotations.
2020-07-20 20:04:31 +03:00
Dmitry Petrov
d30c67db14
JVM: don't skip nullability annotations on private fields
...
Unfortunately, some annotation processors rely on those annotations.
2020-07-20 20:04:30 +03:00
Victor Petukhov
b0ac046b05
NI: decrease fixation priority for variables which have only incorporated from upper bound constraints
...
^KT-40045 Fixed
^KT-39633 Fixed
2020-07-20 19:20:18 +03:00
Ilya Goncharov
081248f859
[Gradle, JS] Extract properties provider in KotlinJsTarget
2020-07-20 17:44:12 +03:00
Ilya Goncharov
4917643583
[Gradle, JS] Check if not both compiler
2020-07-20 17:40:52 +03:00
Ilya Goncharov
61b5a738da
[Gradle, JS] Rename flag for legacy
...
^KT-40320 fixed
2020-07-20 16:51:37 +03:00
Ilya Goncharov
e776444459
[Gradle, JS] binaries executable for legacy by default
...
^KT-40320 fixed
2020-07-20 16:51:22 +03:00
Ilya Goncharov
f7beea10a5
[Gradle, JS] Common configure should be last otherwise user settings can
...
be overwrote
^KT-40320 fixed
2020-07-20 16:51:08 +03:00
Jim Sproch
814bd48148
Keep members of com.google.common dependencies intact
...
It is a workaround for KTI-298
#KT-40354 In progress
2020-07-20 15:05:16 +03:00
Dmitriy Novozhilov
236dfe60f1
[FIR] Correctly build scopes for resolve of different parts of constructors
...
#KT-40409 Fixed
2020-07-20 14:38:17 +03:00
Dmitriy Novozhilov
94ff457e43
[FIR] Handle erroneous situation with type projection in supertype
2020-07-20 14:38:17 +03:00
Dmitriy Novozhilov
c94d583e2e
[FIR] Add substitution for inner classes to supertype resolve
...
KT-38992 Fixed
2020-07-20 14:38:16 +03:00
Dmitriy Novozhilov
cf555ef2b6
[FIR] Move FirNestedClassifierScopeWithSubstitution to separate file
2020-07-20 14:38:16 +03:00
Dmitriy Novozhilov
07e12f98b5
[FIR] Substitute supertypes in nested classifier scope
...
KT-38992
2020-07-20 14:38:16 +03:00
Dmitriy Novozhilov
cedd1c133e
[FIR] Match type in super<type> access with actual supertypes of class
2020-07-20 14:38:16 +03:00
Dmitriy Novozhilov
1ce4eca3a6
[FIR] Infer type arguments for captured parameters of inner classes
...
KT-38992
2020-07-20 14:38:16 +03:00
Dmitriy Novozhilov
1c622a5a3f
[FIR] Add transformConversionTypeRef to FirTypeOperatorCall
2020-07-20 14:38:16 +03:00
Dmitriy Novozhilov
1b78950ebb
[FIR] Don't transform property initializers in type resolve
2020-07-20 14:38:16 +03:00
Dmitriy Novozhilov
9e94189852
[FIR] Add transformTypeParameters to FirTypeParameterRefsOwner
2020-07-20 14:38:15 +03:00
Mikhail Zarechenskiy
4083111dab
Fix SAM conversion when lambda is the last expression of another lambda
...
#KT-39691 Fixed
2020-07-20 14:30:40 +03:00
Mikhail Zarechenskiy
a15d3c76b6
Fix references to sam adapted functions, also fix lookup location
...
#KT-31025 Fixed
2020-07-20 14:30:40 +03:00
Mikhail Zarechenskiy
0c79de1a98
Prohibit adapted reference resolve against reflective types
...
There are design questions about reflection for adapted references,
so the current proposal is to prohibit reflection on them and support
it properly later
#KT-40406 Fixed
2020-07-20 14:30:39 +03:00
Vladimir Ilmov
d8de37f665
(CoroutineDebugger) using WeakReference as lastObservedFrame
...
relates to #KT-40073
2020-07-20 11:44:51 +02:00
Vladimir Ilmov
bcf1954860
(CoroutineDebugger) added support for DebugCoroutineInfoImpl in kotlinx-coroutines-core:1.3.8
...
relates to #KT-40073
2020-07-20 11:44:51 +02:00
Vladimir Ilmov
b43b238030
(CoroutineDebugger) embed agent into gradle JavaExec task
...
#KT-40417 fixed
2020-07-20 11:44:32 +02:00
Vladimir Ilmov
217428212f
(CoroutineDebugger) Refactoring of retrieving BaseContinuationImpl chains
2020-07-20 11:43:23 +02:00
Vladimir Ilmov
14766a3e1a
(CoroutineDebugger) lv 'task' added to tests in EventLoopImplBase kotlinx-coroutines-core:1.3.7
2020-07-20 11:38:01 +02:00
Vladimir Ilmov
e49f3b567b
(CoroutineDebugger) minimum supported version kotlinx-coroutines-core.1.3.8
...
Workaround for starting agent on windows removed, version upgraded in tests
#KT-40073 fixed
2020-07-20 11:38:00 +02:00
Denis Zharkov
cd896ae6c8
FIR: Implement FE 1.0 semantics for super unqualified calls
...
See original logic at org.jetbrains.kotlin.types.expressions.unqualifiedSuper.UnqualifiedSuperKt#resolveUnqualifiedSuperFromExpressionContext
^KT-39070 Fixed
^KT-39599 Related
2020-07-20 12:24:51 +03:00
Denis Zharkov
dfc75f3447
FIR: Support fake elements for light tree
2020-07-20 12:24:27 +03:00
Denis Zharkov
fea1fb0fc3
FIR: Rename FirSourceElement::withKind to fakeElement
...
And reinforce its contract
2020-07-20 12:24:27 +03:00
Denis Zharkov
376d3385d0
FIR: Handle super-receiver case in a special way
...
Before this change, it was resolved independently of containg call
But in fact, the type of `super` depends on the name of the callee
(see KT-39599 and KT-39070)
2020-07-20 12:24:27 +03:00
Jinseong Jeon
628b8b56b7
FIR2IR: convert annotations on type aliases
2020-07-20 09:40:52 +03:00
Jinseong Jeon
4e14f9500f
FIR: account for vararg when creating KFunction type for callable reference
2020-07-20 09:39:34 +03:00
Mikhail Zarechenskiy
e5e50eabe9
Update testdata after 41a0cfe002
2020-07-20 07:04:59 +03:00
Yan Zhulanow
b351556b1f
Fix testJarsWithDependenciesWithinClasses() compilation after unsuccessful cherry-pick
2020-07-20 06:10:36 +09:00
Anton Yalyshev
64aaeb52f5
Add change notes for 1.4-M1,2,3,RC builds #KT-40311 Fixed
2020-07-19 11:56:06 +03:00
Jim Sproch
a4a398239b
Fallback to fileEntry provided by irFile
2020-07-18 11:16:09 +03:00
Georgy Bronnikov
c901e82a55
IR: add IrSimpleFunction.isInfix
2020-07-18 11:03:33 +03:00
Ivan Gavrilovic
8e4bc06b3c
Create a valid jar in KaptIncrementalWithIsolatingApt test
2020-07-18 05:06:16 +09:00
Ivan Gavrilovic
77ba9a1bbb
KT-34604: Fix race condition in KAPT
...
KAPT was relying on clearing JarFileFactory to make sure
annotation processing does not hold onto annotation processing
classpath once done. Once KAPT switched to using Gradle workers, multiple
KAPT runs were sharing the same class loader ie. the same version
of JarFileFactory. Clearing the cache resulted in race condition,
as some runs were unable to load processors from jars.
This commit fixes this problem by avoiding the use of ServiceLoader
which was causing the issue. Jars would be added to the cache, but
they would never be removed. That's why JarFileFactory had to be
clearned manually. By loading the processor names manually (simply
exploring the classpath), no file handles leak.
Fixes https://youtrack.jetbrains.com/issue/KT-34604
Test: verified against the test project from the bug
2020-07-18 05:06:15 +09:00
Ivan Gavrilovic
111a2ece72
KAPT: Fix error reporting
...
When incremental analysis is unable to run, handle
failure gracefully. More info will be provided by
compiler diagnostics.
Fixes KT-36302
2020-07-18 05:06:15 +09:00
Ivan Gavrilovic
11251a93ac
KAPT: Fix serialization of class structure data
...
When serializing ClasspathEntryData, ids assigned to types were
incorrect, resulting in corrupt data when deserializing files. This
happened if there were dependencies between classes.
Fixes KT-39876
Test: ClasspathAnalyzerTest
2020-07-18 05:06:15 +09:00
Jim Sproch
ccbb2eaba9
Make linker visible to compiler plugins
2020-07-17 21:18:07 +03:00
Toshiaki Kameyama
80e4e7939d
"Create abstract function" quick fix: don't suggest it if super classes are not writable
...
#KT-40215 Fixed
2020-07-17 19:35:02 +03:00
Vladimir Ilmov
0c832e30bf
(CoroutineDebugger) Memory leak fixed on IDEA quit: 'org.jetbrains.kotlin.idea.debugger.coroutine.view.XCoroutineView
...
#KT-40386 fixed
2020-07-17 18:01:30 +02:00