Ilya Goncharov
222c663fac
[Gradle, JS] Configure prod and dev compilations
2020-02-12 17:29:23 +03:00
Ilya Goncharov
abf2a9e073
[Gradle, JS] Extract ir compiler flags
2020-02-12 17:29:22 +03:00
Ilya Goncharov
ad321e45dc
[Gradle, JS] Create KotlinJsIrCompilationFactory
2020-02-12 17:29:22 +03:00
Ilya Goncharov
5bdf9f6e39
[Gradle, JS] Fix codegen and avoid deprecate
2020-02-12 17:29:22 +03:00
Ilya Goncharov
544a6bf15e
[Gradle, JS] Add production and development compilations
2020-02-12 17:29:22 +03:00
Ilya Goncharov
2f4f4dbbd8
[Gradle, JS] Fix deprecation replace with on register task
2020-02-12 17:29:22 +03:00
Ilya Goncharov
d0e2a653f7
[Gradle, JS] Reformat code
2020-02-12 17:29:22 +03:00
Ilya Goncharov
64def2e173
[Gradle, JS] Continue to migrate on ir compiler
...
- Create own inheritor of KotlinJsCompilation with specific tasks for production and development
- Copy TargetConfigurator for IR purposes
2020-02-12 17:29:22 +03:00
Ilya Goncharov
8b641bf613
[Gradle, JS] Add mpp presets for jsIr
2020-02-12 17:29:22 +03:00
Ilya Goncharov
a20e9ae0ed
[Gradle, JS] Extract hack for Native and JS IR compiler
...
- IR to klib compiler needs all dependencies (including transitive implementations)
- move hack from native to common with extracting to protected fun
2020-02-12 17:29:21 +03:00
Ilya Goncharov
f936a0fc9b
[Gradle, JS] NodeJs and browser producing handlers
2020-02-12 17:29:21 +03:00
Ilya Goncharov
2de7051165
[Gradle, JS] Add produceJs
2020-02-12 17:29:21 +03:00
Ilya Goncharov
64c2b4b076
[Gradle, JS] Add callbacks on configuring producing target for JS IR
2020-02-12 17:29:21 +03:00
Ilya Goncharov
e7c6653182
[Gradle, JS] Remove DCE from ir tooling
2020-02-12 17:29:21 +03:00
Ilya Goncharov
6be8a83ff9
[Gradle, JS] Configure compiler args for produceKotlinLibrary in IR
2020-02-12 17:29:21 +03:00
Ilya Goncharov
0ff84eaa63
[Gradle, JS] Copy JS subtargets dsl for IR
2020-02-12 17:29:21 +03:00
Ilya Goncharov
3ac2bae4ce
[Gradle, JS] Copy JS plugin for IR
2020-02-12 17:29:21 +03:00
Mikhail Glukhikh
ba770f7b61
FIR2IR: fix type parameter indexes & fix some black-box & FIR2IR tests
2020-02-12 17:02:41 +03:00
Toshiaki Kameyama
3ebad2acec
"Constructor has non-null self reference parameter": don't report for vararg parameter
...
#KT-36160 Fixed
2020-02-12 16:35:26 +03:00
Mikhail Glukhikh
f3f88cae7a
FIR: unmute accidentally muted black-box test
2020-02-12 16:30:47 +03:00
Toshiaki Kameyama
6c93217539
Lift assignment out: don't report when expression is used as expression
...
#KT-36357 Fixed
2020-02-12 16:17:25 +03:00
Toshiaki Kameyama
8baba38099
"To raw string literal" intention: fix false negative with string content starts with newline symbol \n
...
#KT-36369 Fixed
2020-02-12 16:15:18 +03:00
Denis Zharkov
61d02d9ecb
FIR: Unbound FirJavaElementFinder from Kotlin PSI
2020-02-12 16:05:11 +03:00
Denis Zharkov
9c1577092b
FIR: Fix SAM conversion for constructor calls
2020-02-12 16:05:11 +03:00
Denis Zharkov
51db272e0e
FIR: Clean environment in AbstractFirTypeEnhancementTest
2020-02-12 16:05:11 +03:00
Denis Zharkov
95b4fa4b31
FIR: Support flexible types in getErasedVersionOfFirstUpperBound
2020-02-12 16:05:11 +03:00
Denis Zharkov
42e8017bde
FIR: Minor. Refactor calculation of erased upper bound
2020-02-12 16:05:11 +03:00
Denis Zharkov
bc34bc3f96
FIR: Use flexible type for generic parameters bounds
...
Otherwise star projections may be incorrectly approximated to strictly
nullable types (as in test)
2020-02-12 16:05:11 +03:00
Denis Zharkov
5a2cdfcab4
FIR: Run callable references resolution for synthetic-select calls
2020-02-12 16:05:11 +03:00
Denis Zharkov
003aea2e68
FIR: Consider abbreviation's nullability when expanding types
2020-02-12 16:05:11 +03:00
Alexander Udalov
2bb6e4fd97
Minor, add package to typeOfCapturedStar.kt test
...
This fixes this test on Android where packages are replaced.
2020-02-12 14:03:22 +01:00
Nikolay Krasko
eca562a006
Add possibility to depend on nightly repository
2020-02-12 14:54:47 +03:00
Natalia Selezneva
95b2a583ae
build.gradle.kts: change notification text
2020-02-12 14:21:30 +03:00
Pavel Kirpichenkov
c02dd720dc
[NI] Restore missing call checker errors in coroutine inference
...
Reported diagnostics from the call checkers didn't get to a top-level
trace, if an intermediate wrapping call was a lambda call.
Use of the top-level trace in call completer is a workaround for
the unreliable commit order of common calls' temporary traces.
^KT-33542 Fixed
2020-02-12 12:27:02 +03:00
Mikhail Zarechenskiy
6af8f320f7
Add JS runtime to the failing test
2020-02-12 12:23:13 +03:00
Dmitriy Novozhilov
9408bb84e9
[FIR-TEST] Update testname in testdata
2020-02-12 11:20:40 +03:00
Dmitriy Novozhilov
a7de4a8b4b
[FIR-TEST] Update testname in testdata
2020-02-12 11:14:14 +03:00
Mikhail Zarechenskiy
759127df9a
Add NI diagnostics for spec tests
2020-02-12 10:37:35 +03:00
Mikhail Zarechenskiy
c58e819a6a
Regenerate tests
2020-02-12 10:36:46 +03:00
Mikhail Zarechenskiy
0d310c0fa4
[NI] Support signed-unsigned conversions for K/Native
...
#KT-34545 Fixed
2020-02-12 10:36:45 +03:00
Mikhail Zarechenskiy
e14e58c121
Update test about conversions, remove irrelevant case
2020-02-12 10:36:44 +03:00
Mikhail Zarechenskiy
1acce46133
[NI] Fix recording info about captured local variables
2020-02-12 10:36:43 +03:00
Mikhail Zarechenskiy
7f6c03c926
[NI] Fix search of effects for substituted descriptors
...
This fixed *testExactlyOnce* tests for NI
2020-02-12 10:36:42 +03:00
Mikhail Zarechenskiy
7df92cd00b
Set isOperator property for dynamic calls by convention
2020-02-12 10:36:41 +03:00
Mikhail Zarechenskiy
a736551c2a
Add test checking that fun isn't inherited from base interface
2020-02-12 10:36:40 +03:00
Mikhail Zarechenskiy
45bbdaf73f
Add base declaration checker for fun interfaces
2020-02-12 10:36:39 +03:00
Dmitriy Novozhilov
6735cc8937
[FIR] Implement new bound smartcast algorithm
...
#KT-36055 Fixed
2020-02-12 10:17:45 +03:00
Ilya Kirillov
40f907ec2f
Fix compilation for 191 & as35
2020-02-11 23:49:30 +03:00
Mikhail Glukhikh
67668d798b
FIR2IR: update test data
2020-02-11 23:22:55 +03:00
Mikhail Glukhikh
12c001f491
FIR: unmute two additional black-box tests
2020-02-11 23:14:51 +03:00