Denis Zharkov
82d39dd86a
Add basic support for default codeanalysis annotations
2020-10-08 14:00:06 +03:00
Denis Zharkov
517cc84f4d
Add initial support for codeanalysis annotations
2020-10-08 14:00:06 +03:00
Vladimir Dolzhenko
165a147dd8
Improved IDE performance tests vega specs
2020-10-08 12:26:45 +02:00
Ilya Matveev
cb146e06ab
[Build] Refactor compiling native code to bitcode
...
Also switch to kts in the corresponding buildscripts.
2020-10-08 17:16:22 +07:00
Roman Golyshev
0682084ca3
[FIR Completion] Generate part of performance tests for FIR completion
2020-10-08 11:10:50 +03:00
Mikhail Glukhikh
beac3757bc
[IR text test] Minor: add forgotten .fir.txt file
2020-10-08 10:33:58 +03:00
Vladimir Dolzhenko
46535bbd9d
Add IDE performance tests vega specs
2020-10-08 00:07:17 +02:00
Dmitriy Dolovov
280fcb5c4b
IDE: IndexNotReadyException while creating new Kotlin file in Dumb mode
...
^KT-42518
2020-10-07 22:36:52 +03:00
Alexander Udalov
2f003bdcb5
Minor, add regression test
...
#KT-42527
2020-10-07 21:31:43 +02:00
pyos
af98720720
JVM_IR: move MoveOrCopyCompanionObjectFields down a bit
...
More specifically, it should be done *just before*
JvmPropertiesLowering, as walking the IR tree between them will result
in visiting the moved backing fields twice (once via the companion's
parent, once via the IrProperty).
Ideally, this group of 3 lowerings should be merged into 1 as they are
completely inseparable, but this is slightly harder to do properly.
#KT-42527 Fixed
2020-10-07 21:31:19 +02:00
pyos
dd1682510f
JVM_IR: generate accessors for inherited abstract members too
...
#KT-41468 Fixed
2020-10-07 21:23:18 +02:00
Alexander Udalov
68157f09fa
Minor, add temporary workaround for KT-42492
2020-10-07 19:33:40 +02:00
Pavel Punegov
9663e724aa
Fix local variable matching pattern.
2020-10-07 20:09:51 +03:00
Pavel Punegov
fe566e2c73
Exclude coroutines/multiModule tests (KT-40121)
2020-10-07 20:09:51 +03:00
Pavel Punegov
83024d7ffb
Execute tests for reflection
2020-10-07 20:09:51 +03:00
Pavel Punegov
45e79846f9
Fix external tests: proper handle variables with getters and check vars in all files
2020-10-07 20:09:51 +03:00
Roman Golyshev
7833698038
[FIR IDE] Fix idea-fir-performance-tests module references
2020-10-07 19:45:03 +03:00
Ilya Kirillov
efef18c2ca
FIR IDE: mute not passing highlighting test
2020-10-07 19:45:02 +03:00
Ilya Kirillov
96422ea3fe
FIR IDE: introduce highlighting performance test
2020-10-07 19:45:01 +03:00
Denis Zharkov
5cc12b49fc
Hide java.lang.CharSequence::isEmpty from Kotlin built-in class
...
Also, prohibit using it as a synthetic property
^KT-42467 In progress
2020-10-07 17:48:19 +03:00
Denis Zharkov
90044f9672
Use correct naming for additional built-in member lists
2020-10-07 17:48:19 +03:00
Dmitriy Dolovov
13cf470e33
[KLIB tool] Print ID signatures
2020-10-07 17:45:21 +03:00
pyos
98088f739d
PSI2IR: do not generate when subjects multiple times
...
`in x` is represented as `<subject expression> in x` in psi, so
generating the entire call and then replacing the argument with a read
of a temporary results in redundant regenerations of the subject.
#KT-42054 Fixed
#KT-42455 Fixed
2020-10-07 17:22:25 +03:00
Alexander Udalov
e280416fe2
Minor, add regression test
2020-10-07 14:31:01 +02:00
pyos
8ef0fdf021
JVM_IR: remove two outdated comments
2020-10-07 14:30:36 +02:00
pyos
f7441813a9
JVM_IR: move SuspendLambdaLowering to a separate file
2020-10-07 14:30:36 +02:00
pyos
a6c62d3339
JVM_IR: do not inherit delegated property trackers
...
This is no longer needed now that lambdas are generated before
`$$delegatedProperties`.
2020-10-07 14:30:36 +02:00
pyos
05c856f1f7
JVM_IR: move SuspendLambdaLowering next to FunctionReferenceLowering
...
#KT-42253 Fixed
#KT-39434 Fixed
2020-10-07 14:30:36 +02:00
pyos
44e0bfe90b
JVM_IR: split AddContinuationLowering
...
One half handles suspend lambdas, the other - named functions.
2020-10-07 14:30:36 +02:00
pyos
4f171a9eb5
JVM_IR: move FunctionReference lowering before PropertyReference
...
so that `$$delegatedProperties` are generated in the lambdas' classes.
2020-10-07 14:30:36 +02:00
pyos
1190457759
JVM_IR: fix copying of receivers when unboxing inline class parameters
...
If an extension receiver is copied into a normal parameter, this may
later cause default argument masks to be shifted.
2020-10-07 13:21:50 +02:00
pyos
adcbfc7b4c
IR: add an emptiness check to all unsigned until loops
...
Unlike signed integers, a larger unsigned type does not mean a lower
minimum value, so `x - 1` can overflow even if `x` is casted to a larger
type.
#KT-42186 Fixed
2020-10-07 12:53:00 +02:00
pyos
4a03006162
Generate min/max constants as non-const in ranges tests
...
in order to make them appear as unknown values to codegen.
2020-10-07 12:53:00 +02:00
Pavel Punegov
260f66183c
Don't ignore the test on JS backend as it doesn't fail any more.
2020-10-07 12:22:49 +03:00
Pavel Punegov
93b2ea2feb
Regenerate tests
2020-10-07 12:18:12 +03:00
Pavel Punegov
a439860e12
Replace IGNORE_BACKENDs to TARGET_BACKEND for the Java test
2020-10-07 12:18:09 +03:00
Pavel Punegov
4d8ca074bc
Ignore test for the full reflection in Native
2020-10-07 12:18:09 +03:00
Pavel Punegov
33d28b44fa
Unmute typeOf tests in Native backend
2020-10-07 12:18:09 +03:00
Igor Yakovlev
d92aa94c6d
[Usages] Provide BWC change for 1.4.20 and mark it as deprecated
...
Fixed #KT-42406
2020-10-07 12:09:59 +03:00
Vladimir Dolzhenko
23d33f51a2
Open build tool window on Gradle DSL errors
...
^EA-236697 Fixed
2020-10-07 10:46:52 +02:00
KotlinIsland
0e29f6f48b
DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE: is -> are
2020-10-07 10:41:43 +02:00
Dmitry Gridin
9a0c3c47c8
[inspections] fix false positive "Redundant Unit" inspection in lambda with dynamic return type
...
^KT-40700 Fixed
2020-10-07 08:38:28 +00:00
Yaroslav Chernyshev
26d03295cf
[Cocoapods] Remove hierarchical PodInstall dependsOn to Podspecs
...
#KT-41844 Fixed
2020-10-07 11:05:25 +03:00
Mikhail Glukhikh
e49f881e7f
[FIR2IR] Add more clear exception about absent setter (see KT-42496)
2020-10-07 10:43:46 +03:00
Mikhail Glukhikh
aa4a042612
[FIR2IR] Use deepest matching symbol also for synthetic properties
...
#KT-42359 Fixed
2020-10-07 10:43:43 +03:00
Mikhail Glukhikh
fb4f27e136
[FIR2IR] Add test for problematic KT-42359
2020-10-07 10:43:38 +03:00
Jinseong Jeon
49307e243c
FIR deserializer: load annotations on default accessors
2020-10-07 09:46:40 +03:00
Dmitriy Dolovov
c25742c91a
kotlinx-metadata: Fix tests for Flag.Constructor.IS_SECONDARY flag
...
^KT-42429
2020-10-07 09:43:23 +03:00
Dmitriy Dolovov
52e56ca070
kotlinx-metadata: Wrong interpretation of Flag.Constructor.IS_PRIMARY
...
^KT-42429
2020-10-07 09:43:14 +03:00
Dmitriy Dolovov
0ea834ea1f
[C-interop] Modality of accessors should be the same as of property
...
^KT-42412
2020-10-07 09:38:58 +03:00