Dmitriy Dolovov
439808952d
[Commonizer] Fix incorrect merging KLIB dependencies
...
^KT-39609
2020-06-17 11:38:27 +07:00
Victor Petukhov
901b794af3
Use lexical scope from trace during checking suspend context if the analysis of engaged parent function isn't completed
...
^KT-39461 Fixed
2020-06-16 22:00:04 +03:00
Dmitry Petrov
02f6a03ff7
JVM_IR: fix nullability annotations on synthetic marker parameters
...
Synthetic marker parameters (of type
Lkotlin/jvm/internal/DefaultConstructorMarker;) don't have annotations
(including nullability annotations).
Also, for constructor accessors corresponding parameter should be
nullable (since we pass 'null' as an argument there).
KT-36966
2020-06-16 21:29:52 +03:00
Ilya Chernikov
2656eeb164
NI: Optimize some potential hot places
2020-06-16 20:13:58 +03:00
Mikhail Glukhikh
d385a9b29e
Add more detailed exception message in KtExpression.isUsedAsExpression
2020-06-16 19:17:29 +03:00
Jinseong Jeon
f64f9c2144
FIR: inherit property accessor modifiers from property and vice versa
2020-06-16 19:17:27 +03:00
Mikhail Glukhikh
6f957c7b31
Provide more accurate clash check in JsDeclarationTable
2020-06-16 19:17:26 +03:00
Mikhail Glukhikh
aaacbaaaec
Add KDoc to ObsoleteDescriptorBasedAPI
2020-06-16 19:17:24 +03:00
Mikhail Glukhikh
a035404c96
Mark IrSymbolBase/IrPublicSymbolBase.descriptor as obsolete API
2020-06-16 19:17:22 +03:00
Mikhail Glukhikh
3297237f3d
Drop ObsoleteDescriptorBasedAPI in ClassGenerator (module-wide)
2020-06-16 19:17:20 +03:00
Mikhail Glukhikh
175e94c0aa
Revert kotlinx-serialization-compiler-plugin OptIn dependency
2020-06-16 19:17:18 +03:00
Mikhail Glukhikh
fe61530357
Declare IrGeneratorContext.builtIns as obsolete descriptor-based API
2020-06-16 19:17:16 +03:00
Mikhail Glukhikh
ab5cb13dae
Rename: DescriptorBasedIr -> ObsoleteDescriptorBasedAPI
2020-06-16 19:17:14 +03:00
Mikhail Glukhikh
cbbb497edf
Make descriptor-based API in ir:tree more granular
2020-06-16 19:17:12 +03:00
Mikhail Glukhikh
c4b24548cb
IrValidator: report errors without rendering descriptors
2020-06-16 19:17:11 +03:00
Mikhail Glukhikh
293df7bd50
[IR BE common] Use Descriptor-based IR only in CheckIrElementVisitor
2020-06-16 19:17:10 +03:00
Mikhail Glukhikh
63394858ac
Minor typo fix
2020-06-16 19:17:08 +03:00
Mikhail Glukhikh
e787dbf374
[IR.serialization.jvm] Use Descriptor-based IR in JvmIrLinker only
2020-06-16 19:17:06 +03:00
Mikhail Glukhikh
1c2fbb61fe
[IR] Introduce & use declaration-based SymbolTable.withReferenceScope
2020-06-16 19:17:04 +03:00
Mikhail Glukhikh
7a0f986823
[IR] Introduce & use DescriptorBasedIr OptIn
2020-06-16 19:17:03 +03:00
Mikhail Glukhikh
67158caf73
FunctionGenerator: use owner instead of descriptor
2020-06-16 19:17:01 +03:00
Mikhail Glukhikh
41306d25fd
JsDeclarationTable: drop descriptors in assertion
2020-06-16 19:16:59 +03:00
Nikolay Krasko
8e8710efec
Minor: replace println() with logger
2020-06-16 18:34:40 +03:00
Victor Petukhov
982cbf1148
NI: clear calls info in coroutine inference before the second analysis of += right side
...
^KT-39376 Fixed
2020-06-16 18:26:59 +03:00
Nikolay Krasko
d3d3b41dea
Disable all verification tasks if special option is passed
2020-06-16 18:16:27 +03:00
Ilya Chernikov
74c697af92
Fix SamWithReceiver tests for scripts, add tests...
...
that use new script definition and ability to load
annotations from script definition
2020-06-16 17:11:33 +02:00
Ilya Chernikov
8fb41e4562
Process compiler plugins and options in scripting compiler
...
#KT-37766 fixed
2020-06-16 17:11:33 +02:00
Ilya Chernikov
a72eeb800d
[minor] Add serialization plugin to kotlin paths
2020-06-16 17:11:33 +02:00
Dmitry Gridin
060b2eaf27
Increase warm-up, test iterations in PerformanceTypingIndentationTest
2020-06-16 20:50:43 +07:00
Mikhail Glukhikh
ca15c33a62
[FIR] Make light tree consistent with raw FIR for empty init case
2020-06-16 15:07:01 +03:00
Ilya Muradyan
9db9e2ad57
Fix build error messages
2020-06-16 13:34:40 +02:00
Yunir Salimzyanov
71f53d49ca
Revert: Bootstrap: 1.4.20-dev-498
2020-06-16 13:14:15 +03:00
Mikhail Glukhikh
d9b4e24b29
Exclude JS API dumps from FIR consistency tests
2020-06-16 12:39:26 +03:00
Ilya Goncharov
7b89717092
[Gradle, JS] Add task requirements only after evaluated
2020-06-16 11:57:33 +03:00
Ilya Goncharov
aaf3410708
[Gradle, JS] Break Task Configuration Avoidance to get all required NPM dependencies
2020-06-16 11:57:33 +03:00
Ilya Goncharov
48ec104a34
[Gradle, JS] Store npm dependencies by compilation
2020-06-16 11:57:33 +03:00
Ilya Goncharov
4080bd1325
[Gradle, JS] Move tranform from requiredNpmDependencies to TasksRequirements
2020-06-16 11:57:33 +03:00
Ilya Goncharov
8f156f3609
[Gradle, JS] Extract TasksRequirements.kt
2020-06-16 11:57:33 +03:00
Ilya Goncharov
e51874d46a
[Gradle, JS] Use set in task requirements
2020-06-16 11:57:33 +03:00
Ilya Goncharov
464c8eb77a
[Gradle, JS] Add kotlin-js-test-runner to dependencies by default
2020-06-16 11:57:33 +03:00
Ilya Goncharov
4a52596344
[Gradle, JS] Remove devServer from common part of legacy
2020-06-16 11:57:32 +03:00
Ilya Goncharov
1f5012684b
[Gradle, JS] Force full configuring of NPM tasks in idea import
2020-06-16 11:57:32 +03:00
Ilya Goncharov
aab4fd7225
[Gradle, JS] Use unique representation for npm dependency
2020-06-16 11:57:32 +03:00
Ilya Goncharov
92c224b616
[Gradle, JS] Fix NpmDependency toString
2020-06-16 11:57:32 +03:00
Ilya Goncharov
1a81f02377
[Gradle, JS] Add tools npm dependencies as input to package json task
2020-06-16 11:57:32 +03:00
Ilya Goncharov
d0c0ddd7e5
[Gradle, JS] Move initialization of RequiresNpmDepends in project resolver
2020-06-16 11:57:32 +03:00
Ilya Goncharov
3283a10561
[Gradle, JS] Define compilation on constructor of RequiresNpmDepends
2020-06-16 11:57:32 +03:00
Ilya Goncharov
db42b5b062
[Gradle, JS] Get npm dependencies in compilation npm resolver
2020-06-16 11:57:32 +03:00
Ilya Goncharov
49710c9509
[Gradle, JS] Remove task oriented taskRequirements
2020-06-16 11:57:31 +03:00
Ilya Goncharov
8f679bf1d3
[Gradle, JS] Tools npm dependencies resolved in task execution
2020-06-16 11:57:31 +03:00