Nikolay Krasko
|
beb1bc09d4
|
Update to 192.5118.30
|
2019-06-25 11:48:59 +03:00 |
|
Mikhail Glukhikh
|
688c2cf74f
|
Optimization: make FIR expression an abstract class
NB: this commit does significant fir:tree refactoring.
It provides some boost due to faster abstract class dispatching in JVM.
|
2019-06-19 22:52:44 +03:00 |
|
Simon Ogorodnik
|
810fa9c171
|
[FIR] Make session & symbolProvider abstract classes
|
2019-06-18 11:14:55 +03:00 |
|
Simon Ogorodnik
|
5a06027c53
|
[FIR] Avoid instanceof List in transformInplace
|
2019-06-18 11:14:54 +03:00 |
|
Vyacheslav Gerasimov
|
5a39c637c2
|
Build: Fix intellij dependency leak from ir tree module
|
2019-06-13 21:03:55 +03:00 |
|
Simon Ogorodnik
|
146a53f18c
|
Change lookup tags from interfaces to abstract classes
|
2019-06-10 11:03:09 +03:00 |
|
Mikhail Glukhikh
|
2db8409d85
|
FIR: introduce & resolve spread named arguments #KT-31575 Fixed
|
2019-05-28 10:20:42 +03:00 |
|
Simon Ogorodnik
|
d3f00280e9
|
Disable data class copy function body in raw FIR
After this commit we require 'copy' body generation in FIR2IR converter
|
2019-05-28 10:18:00 +03:00 |
|
Mikhail Glukhikh
|
6589fbbfbb
|
Raw FIR: set val setter to null instead of default one
|
2019-05-28 10:17:22 +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
|
aa96837758
|
[FIR] Introduce unchecked not-null cast as internal operation for !!, ?:
|
2019-05-23 14:02:08 +03:00 |
|
Mikhail Zarechenskiy
|
2f835ed66f
|
Specify type arguments to fix compilation against bootstrap compiler
|
2019-05-06 14:00:19 +03:00 |
|
Simon Ogorodnik
|
77817cb750
|
Raw FIR: copy class type-parameters into constructors properly
|
2019-04-30 18:45:54 +03:00 |
|
Simon Ogorodnik
|
458080ca8b
|
Raw FIR: create resolved references for desugared temporary variables
|
2019-04-30 18:45:54 +03:00 |
|
Simon Ogorodnik
|
99994e6c41
|
FIR: provide super-type as the self-type for anonymous objects
This commit is a temporary approximation useful before we have
symbols for local classes & objects
|
2019-04-30 18:45:54 +03:00 |
|
Simon Ogorodnik
|
00ccea220e
|
Raw FIR: allow implicit type of value parameter (helpful for lambda)
|
2019-04-30 18:45:53 +03:00 |
|
Simon Ogorodnik
|
0ae2f992fa
|
Raw FIR: provide receiver to ++, -- operators
|
2019-04-30 18:45:49 +03:00 |
|
Mikhail Glukhikh
|
f9feeac5e1
|
Raw FIR: generate data-class component1, component2, ... functions
|
2019-04-30 18:45:46 +03:00 |
|
Mikhail Glukhikh
|
7d793f6750
|
FIR resolve: add handling of companions as objects
|
2019-04-30 18:45:43 +03:00 |
|
Simon Ogorodnik
|
a0de50307a
|
Raw FIR: generate more trivial tree for lambdas (no explicit return)
|
2019-04-30 18:45:41 +03:00 |
|
Mikhail Glukhikh
|
8b718c6822
|
FIR body resolve: support subject type calculation
|
2019-04-30 18:45:38 +03:00 |
|
Simon Ogorodnik
|
93cb23a498
|
Raw FIR: support type placeholders
|
2019-04-30 18:45:36 +03:00 |
|
nikita.movshin
|
65244b4bea
|
Update copyright.
Change the copyright from "JetBrains s.r.o." to
"JetBrains s.r.o. and Kotlin Project contributors"
Update only 2 lines copyright.
|
2019-04-23 20:09:22 +03:00 |
|
Simon Ogorodnik
|
73b1676a03
|
Raw FIR: fix unary operators (now convention calls use receivers)
|
2019-04-23 11:40:32 +03:00 |
|
Mikhail Glukhikh
|
77e83dd8cf
|
Raw FIR: introduce string concatenation call
This removes some 'plus' calls to be resolved
|
2019-04-23 11:35:41 +03:00 |
|
Mikhail Glukhikh
|
b9f09afc6f
|
Raw FIR: introduce lambda argument expressions
Without it we cannot distinguish lambda argument from just last argument
|
2019-04-23 11:15:26 +03:00 |
|
Mikhael Bogdanov
|
dde28ddc52
|
Parallelize compiler tests
|
2019-04-18 13:24:58 +02:00 |
|
Mikhail Glukhikh
|
568e831651
|
FIR: make rendering of type parameters similar to original Kotlin
|
2019-04-10 13:31:02 +03:00 |
|
Mikhail Glukhikh
|
0c334163ab
|
FIR: add class type parameters to constructors & change their rendering
|
2019-04-10 13:31:01 +03:00 |
|
Mikhail Glukhikh
|
ee28467a47
|
Raw FIR: add work-around for deeply nested String interpolations
Controversial (but prevents total kotlin test failing)
Related to KT-29222
|
2019-04-05 16:18:58 +03:00 |
|
Mikhail Glukhikh
|
d736a7da6b
|
Raw FIR: get rid of array gets, use array sets only for modifications
(a[b] += c etc. cannot be replaced with get/set calls easily)
|
2019-04-05 16:18:58 +03:00 |
|
Mikhail Glukhikh
|
a0c4e2f05f
|
Raw FIR: convert in to contains and !in to contains.not
|
2019-04-05 16:18:58 +03:00 |
|
Mikhail Glukhikh
|
4482a8f794
|
Remove FirOperation.RANGE which was effectively unused
Associated KtTokens.RANGE is included into convention call table
|
2019-04-05 16:18:58 +03:00 |
|
Mikhail Glukhikh
|
007edcb4a4
|
Raw FIR: generate convention / infix binary expressions with receiver
|
2019-04-05 16:18:57 +03:00 |
|
Mikhail Glukhikh
|
a0fa9e6b48
|
Raw FIR: make component call a function call, its argument -> receiver
|
2019-04-04 10:31:01 +03:00 |
|
Mikhail Glukhikh
|
eb1aaad41b
|
Raw FIR: generate Unit at the end of empty lambda
|
2019-04-04 10:30:52 +03:00 |
|
Mikhail Glukhikh
|
eb86c9e540
|
FIR: get rid of ANDAND / OROR by replacing with when
|
2019-04-04 10:30:49 +03:00 |
|
Mikhail Glukhikh
|
395651a21e
|
Raw FIR: swap branches in when for elvis and bang-bang
|
2019-04-04 10:30:48 +03:00 |
|
Mikhail Glukhikh
|
f77ba2dd3e
|
Raw FIR: make object/sealed/enum constructor visibility private
|
2019-04-04 10:30:47 +03:00 |
|
Mikhail Glukhikh
|
057156f323
|
Raw FIR builder: cleanup code
|
2019-04-04 10:30:45 +03:00 |
|
Mikhail Glukhikh
|
33729aaf9b
|
Raw FIR: add Any/Enum/Annotation to supertypes iff no supertypes exists
|
2019-04-04 10:30:44 +03:00 |
|
Mikhail Glukhikh
|
61c2e4e590
|
Raw FIR: handle local visibility for functions & classes
|
2019-04-04 10:30:41 +03:00 |
|
Mikhail Glukhikh
|
4187ea1f86
|
Raw FIR: add initializers to primary constructor properties
|
2019-04-04 10:30:40 +03:00 |
|
Mikhail Glukhikh
|
0546548ff3
|
Raw FIR: add kotlin.Any super class if no super classes are visible
|
2019-03-25 17:17:14 +03:00 |
|
Simon Ogorodnik
|
cd7a96e91b
|
FIR: Proper self-type for constructor return type
|
2019-03-22 16:25:17 +03:00 |
|
Simon Ogorodnik
|
24041828a9
|
FIR: Improve rendering for type operators
|
2019-03-22 16:25:14 +03:00 |
|
Simon Ogorodnik
|
498fb94c37
|
FIR: Make FIR rendering more kotlin-styled
|
2019-03-22 16:25:10 +03:00 |
|
Simon Ogorodnik
|
9cc6e44158
|
FIR: Fix value-parameters redeclare in destructuring
|
2019-03-22 16:25:09 +03:00 |
|
Simon Ogorodnik
|
3867b255f2
|
FIR: Support this resolve
|
2019-03-22 16:25:06 +03:00 |
|