Ilya Goncharov
19d09fc420
[Gradle, JS] Remove redundant build variants for IR
2020-03-20 12:45:24 +03:00
Ilya Goncharov
703ceff9a3
[Gradle, JS] Return binaries from ir target if it exists
2020-03-20 12:45:24 +03:00
Ilya Goncharov
2d900e2234
[Gradle, JS] Legacy tooling work with binaries and throw error on it
2020-03-20 12:45:24 +03:00
Ilya Goncharov
1bb6429c5c
[Gradle, JS] Link tasks depends on compile tasks
2020-03-20 12:45:24 +03:00
Ilya Goncharov
0a19998ae2
[Gradle, JS] Binaries dsl
2020-03-20 12:45:23 +03:00
Ilya Goncharov
0c34acd09a
[Gradle, JS] Produce executable for ir compilation
2020-03-20 12:45:23 +03:00
Ilya Goncharov
666b9b3545
[Gradle, JS] Move binaries on compilation level
2020-03-20 12:45:23 +03:00
Ilya Goncharov
efb3f16ee4
[Gradle, JS] Browser with binaries
2020-03-20 12:45:22 +03:00
Ilya Goncharov
2fed8aa7b8
[Gradle, JS] NodeJs on binaries
2020-03-20 12:45:09 +03:00
Ilya Goncharov
9bff6a709f
[Gradle, JS] Add testExecutable for subtargets
2020-03-20 12:45:09 +03:00
Ilya Goncharov
625e94822f
[Gradle, JS] Remove redundant baseName
2020-03-20 12:45:09 +03:00
Ilya Goncharov
d00c53fd38
[Gradle, JS] Fix strict type check
2020-03-20 12:45:09 +03:00
Ilya Goncharov
e3b5a754cd
[Gradle, JS] Register executable tasks for binaries
2020-03-20 12:45:09 +03:00
Ilya Goncharov
9fe0604f00
Revert "[Gradle, JS] binaries API instead of produce*"
...
This reverts commit 055e98e9
2020-03-20 12:45:09 +03:00
Ilya Goncharov
eab6a7d038
[Gradle, JS] Register link tasks for binaries, not for compilations
2020-03-20 12:45:08 +03:00
Ilya Goncharov
ab218317de
[Gradle, JS] Fix name for binary
2020-03-20 12:45:08 +03:00
Ilya Goncharov
e518998da3
[Gradle, JS] Remove KotlinJsIrType on BuildVariantKind
2020-03-20 12:45:08 +03:00
Ilya Goncharov
1de720cdd0
[Gradle, JS] Add link tasks to binaries, add test executable binary type
2020-03-20 12:45:08 +03:00
Ilya Goncharov
99d73d4c79
[Gradle, JS] binaries API instead of produce*
2020-03-20 12:45:08 +03:00
Ilya Goncharov
e2918bf6c8
[Gradle, JS] binaries.executable works for JS IR
2020-03-20 12:45:08 +03:00
Ilya Goncharov
3974300f22
[Gradle, JS] Simplify JsBinary
2020-03-20 12:45:08 +03:00
Ilya Goncharov
9d3234495e
[Gradle, JS] Add binaries for javascript
2020-03-20 12:45:08 +03:00
Ilya Goncharov
c46fa83924
[Gradle, JS] Extract Binary Container from Native
2020-03-20 12:45:08 +03:00
Mikhail Glukhikh
9836520287
[FIR2IR] Generate synthetic bodies for Enum.values() and valueOf()
2020-03-20 11:55:34 +03:00
Mikhail Glukhikh
94fe79578e
[FIR2IR] Generate unconditional branch in exhaustive whens
2020-03-20 11:55:34 +03:00
Ilya Goncharov
41f5a56cb3
[Gradle, JS] Fix delegates
...
#KT-37582 fixed
2020-03-20 10:32:44 +03:00
Ilya Goncharov
6605199ead
[Gradle, JS] Back field to delegate
...
#KT-37582 fixed
2020-03-20 10:32:44 +03:00
Ilya Goncharov
a533fe26d7
[Gradle, JS] Non-nullable properties in KotlinWebpack with delegate
...
#KT-37582 fixed
2020-03-20 10:32:44 +03:00
Ilya Chernikov
831806fe2f
Revert "Optimize MutableDiagnosticsWithSuppression"
...
Fixes flaky tests on windows:
QuickFixTestGenerated$Suppress$AnnotationPosition
.testTopLevelFunctionSuppressOnFile
.testTopLevelFunctionSuppressOnFileWithSuppress
2020-03-20 08:02:25 +01:00
Zalim Bashorov
4f042cbea5
[IDE KJS] Recognize and load correctly Kotlin/JS klibs in IDE
...
#KT-36276 Fixed
2020-03-20 01:28:48 +03:00
Zalim Bashorov
d07436c831
[IDE KJS] Move JsResolverForModuleFactory to proper place
2020-03-20 01:27:41 +03:00
Zalim Bashorov
eaac5bdac4
[IDE KN] Treat klib as Kotlin/Native library iff manifest contains builtins_platform==NATIVE
2020-03-20 01:27:41 +03:00
Vladimir Dolzhenko
d247dd21de
Added missed :compiler:fir:checkers dependency for kotlin-plugin
2020-03-19 22:26:17 +01:00
Dmitriy Novozhilov
c4b8e94061
[FIR] Add utils for traversing control flow graph
2020-03-19 23:11:18 +03:00
Dmitriy Novozhilov
b88cb3f849
[FIR] Add visitors for control flow graph
2020-03-19 23:11:17 +03:00
Dmitriy Novozhilov
e4588c3dec
[FIR] Add diagnostic component for control flow analysis
2020-03-19 23:11:17 +03:00
Dmitriy Novozhilov
9535df5e2e
[FIR] Add owner to ControlFlowGraph
2020-03-19 23:11:17 +03:00
Dmitriy Novozhilov
496489cdf4
[FIR] Introduce CheckerContext for call and declaration checkers
2020-03-19 23:11:17 +03:00
Dmitriy Novozhilov
1c87601486
[FIR] Split ImplicitReceiverStack to mutable and immutable parts
2020-03-19 23:11:17 +03:00
Victor Petukhov
3b892fe31e
NI: exclude reporting of an unsafe call diagnostic for implicit invoke after safe call in cases when invoke has type parameters (make NI and OI consistent)
...
^KT-37579 Fixed
2020-03-19 19:27:25 +03:00
Mikhail Bogdanov
8b330193ac
Minor. Throw proper exception in test framework on directive processing
2020-03-19 16:45:11 +01:00
Mikhail Bogdanov
3f87899014
Switch converter test to new directive scheme
2020-03-19 16:45:10 +01:00
Mikhail Bogdanov
d793fea8d2
Use multimap for directives
2020-03-19 16:45:10 +01:00
Mikhail Bogdanov
420dd0d440
Extract directive map to separate class
2020-03-19 16:45:10 +01:00
Mikhail Bogdanov
bc214868ef
Minor. Clean tests
2020-03-19 16:45:10 +01:00
Mikhael Bogdanov
ab7e71fd68
Support per files test directives
2020-03-19 16:45:10 +01:00
Mikhael Bogdanov
34547b4e27
Minor. Remove redundant getters
2020-03-19 16:45:10 +01:00
Vyacheslav Gerasimov
507b00ee77
201: Fix kotlin-compiler proguard
2020-03-19 18:13:51 +03:00
Ilmir Usmanov
be87d5fab5
JVM_IR: Serialization: do not mess with return types of call expressions
...
If return type of IrConstructor is different from containing class, we will
generate call to wrong <init> method, leading to VerifyError.
If we do not specify the type of irNull, it, by default, will be Nothing?,
when really we need Any?. This leads to CCE: cannot cast to Void at runtime.
2020-03-19 15:18:32 +01:00
pyos
d06c87207c
Dump class structure in a test that has an object in a lambda
2020-03-19 15:11:20 +01:00