Svyatoslav Kuzmich
ec34cdaae9
[JS STDLIB] Fix: Object.keys() returns list of strings
2019-05-24 11:50:46 +03:00
Svyatoslav Kuzmich
cd55e6b1e5
[JS IR BE] Use static fields instead of variables in enum lowering
2019-05-24 11:50:46 +03:00
Svyatoslav Kuzmich
30ada0ccbb
[JS] Fix type in vararg test
2019-05-24 11:50:46 +03:00
Ting-Yuan Huang
bdcd6f73b1
Move tailrecPhase before defaultArgumentStubPhase
...
So that default values can be copied to the recursive call sites.
2019-05-24 09:51:07 +02:00
Vadim Brilyantov
6addb24e4b
#KT-31574 : Keep CoreJarFileSystem in compiler jar to save clearHandlersCache
2019-05-23 21:39:05 +03:00
Vyacheslav Gerasimov
af63ef2405
Build: Actualize repository list in cacheRedirector.gradle.kts
2019-05-23 18:11:30 +03:00
Vyacheslav Gerasimov
4e229437f3
Build: Remove unnecessary repositories from idl2k
2019-05-23 18:11:29 +03:00
Vyacheslav Gerasimov
b88d9d62b8
Build: Extract cache redirector to script & add verification task
2019-05-23 18:11:29 +03:00
Vyacheslav Gerasimov
2bbf92a6c3
Build: Remove unused ktor repo from buildscript block
2019-05-23 18:11:28 +03:00
Vyacheslav Gerasimov
bda676ed26
Build: Redirect all urls starting with mirrored urls
2019-05-23 18:11:28 +03:00
Vyacheslav Gerasimov
7e61183ee1
Build: Move kotlinNativeRepo to :kotlin-gradle-plugin
...
the only one project using it
2019-05-23 18:11:28 +03:00
Dmitriy Novozhilov
ffc0276215
Fix compiler testdata broken in 95544b0
2019-05-23 17:46:16 +03:00
Nikolay Krasko
e38ad3a513
Temporary allow resolve in write action for insert handler
2019-05-23 16:25:09 +03:00
Nikolay Krasko
78569c62c0
Additional test for multiple comments in copyright updater
2019-05-23 16:25:09 +03:00
Nikolay Krasko
136cbd195b
Fix copyright updater in scripts (KT-30133)
...
#KT-30133 Fixed
2019-05-23 16:25:09 +03:00
Nikolay Krasko
aa01328d13
Add tests for copyright updater
2019-05-23 16:25:08 +03:00
Nikolay Krasko
d32d715cd1
Move copyright extension out of jvm to common idea module
2019-05-23 16:25:08 +03:00
Nikolay Krasko
314b29f223
Fix background for uneditable text panes in Kotlin update (KT-29667)
...
#KT-29667 Fixed
2019-05-23 16:25:08 +03:00
Sergey Rostov
00ed49df68
JPS Build: rename packedJars property to embedded, get rid of ShadowJar
...
Configuration should have name "embedded" for IDEA import.
ShadowJar doesn't required anymore as it is already embedded in
default jar task.
2019-05-23 16:12:03 +03:00
Natalia Selezneva
710c2cd0a4
JPS Build: rename packedJars property to embedded
2019-05-23 15:14:30 +03:00
Toshiaki Kameyama
3bca1a50e3
Move variable declaration into when: fix comment place
...
#KT-31362 Fixed
2019-05-23 19:01:24 +07:00
Leonid Startsev
b5c4f3ecc8
Coerce property value from correct type after retrieving it
...
#KT-25497 fixed
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/434
2019-05-23 14:21:09 +03:00
Leonid Startsev
9ce1f843e3
Remove non-type annotations from type serializer analysis
...
Fixes https://github.com/Kotlin/kotlinx.serialization/issues/450
2019-05-23 14:21:09 +03:00
Mikhail Glukhikh
728459a504
Add IR for-in-range test
2019-05-23 14:02:12 +03:00
Mikhail Glukhikh
139557e641
FIR2IR: support super-types & type parameters for external class
2019-05-23 14:02:12 +03:00
Mikhail Glukhikh
a973a21ec6
FIR2IR: support assignments of local variables
2019-05-23 14:02:11 +03:00
Mikhail Glukhikh
68da1a97d1
Add fib test to FIR resolve tests
2019-05-23 14:02:11 +03:00
Mikhail Glukhikh
f3960c9482
Preliminary implementation of parts & facade in FIR-based compiler
2019-05-23 14:02:11 +03:00
Mikhail Glukhikh
2bf80ff64e
FIR: support copy functions in data classes
2019-05-23 14:02:10 +03:00
Mikhail Glukhikh
d9261acdfc
Raw FIR builder: extract 'generateComponentFunctions' for data class
2019-05-23 14:02:10 +03:00
Simon Ogorodnik
672c172c99
[FIR] Make result type after safe-call nullable (for nullable receiver)
2019-05-23 14:02:10 +03:00
Simon Ogorodnik
f7b6fec70c
[FIR] Transform explicit receiver of QAE properly
2019-05-23 14:02:10 +03:00
Simon Ogorodnik
27a1ec3817
[FIR] Allow nullable receiver type in case of safe-calls
2019-05-23 14:02:10 +03:00
Mikhail Glukhikh
b28207deca
FIR2IR: support fields in Java FIR
2019-05-23 14:02:09 +03:00
Simon Ogorodnik
6c313895df
[FIR] Do not enhance java fields to firProperty
2019-05-23 14:02:09 +03:00
Simon Ogorodnik
397aaa189e
[FIR] Allow type-variables in general subtyping with cone context
2019-05-23 14:02:09 +03:00
Simon Ogorodnik
20ba15a429
[FIR] Typing for annotation calls
2019-05-23 14:02:09 +03:00
Simon Ogorodnik
c168c22fba
Render property accessors in html fir dump
2019-05-23 14:02:09 +03:00
Simon Ogorodnik
9266a2cdba
Add equals/hashCode to some FIR cone types
2019-05-23 14:02:08 +03:00
Simon Ogorodnik
aa96837758
[FIR] Introduce unchecked not-null cast as internal operation for !!, ?:
2019-05-23 14:02:08 +03:00
Simon Ogorodnik
b469eb293b
[FIR] Typing for try-catch
2019-05-23 14:02:08 +03:00
Simon Ogorodnik
30e097a1e0
Fix modifiers order and repeating in html fir dump
2019-05-23 14:02:08 +03:00
Simon Ogorodnik
58fd62fd49
Fix try catch rendering in html fir dump
2019-05-23 14:02:08 +03:00
Simon Ogorodnik
9398addb9d
Fix cycle avoidance in FIR implicit type resolve
...
This commit fixes the following case:
transformer visiting it twice before reporting cycle
fun foo() = foo()
2019-05-23 14:02:07 +03:00
Mikhail Glukhikh
26974788e9
FIR2IR converter: handle receivers and parents more correctly
2019-05-23 14:02:07 +03:00
Mikhail Glukhikh
90009f002c
Add FIR test for 'Exception' constructor resolve ambiguity (type alias)
2019-05-23 14:02:07 +03:00
Mikhail Glukhikh
b72f3aa206
Remove code duplication in KotlinToJvmCompiler (old FE vs FE IR)
...
Related to KT-31265
2019-05-23 14:02:07 +03:00
Mikhail Glukhikh
05154d24d4
Select stub or real symbol for java.lang.Class in IR dependent on mode
...
This commit fixes some black-box IR tests broken by stub introduction
2019-05-23 14:02:07 +03:00
Mikhail Glukhikh
f4fdc66a34
Introduce experimental FIR compiler #KT-31265 Fixed
...
This commit also includes several FIR2IR fixes which helps FIR compiler
to produce normal results
2019-05-23 14:02:06 +03:00
Mikhail Glukhikh
892419c08a
Generate stub java.lang.Class in IR JvmSymbols instead of scope reading
...
Before this commit, java.lang.Class was read via JvmBackendContext,
its module descriptor and its package member scope.
However, this works only for old FE with descriptors and
descriptor-based scopes available.
2019-05-23 14:02:06 +03:00