simon.ogorodnik
2c8a9bf437
[FIR] Fix nullability rendering for class like types in html dump
2020-04-07 16:24:59 +03:00
simon.ogorodnik
bd826f38bc
[FIR] Fix specificity comparision for unsigned integers
2020-04-07 16:24:58 +03:00
simon.ogorodnik
851e2dbb68
[FIR] Implement equals & hashCode for candidates
2020-04-07 16:24:58 +03:00
simon.ogorodnik
7d3b2558f0
[FIR] Improve rendering for unsigned literals in html dump
2020-04-07 16:24:58 +03:00
Victor Turansky
103fd093e1
KT-34770 JS. Configurable properties. IR
2020-04-07 16:14:21 +03:00
Dmitry Petrov
dae8872aba
KT-37779 Treat named value arguments in vararg as arguments with '*'
2020-04-07 15:40:43 +03:00
Jinseong Jeon
fa9d79392f
[FIR] Handle lateinit local variable properly
2020-04-07 14:06:38 +03:00
Victor Petukhov
6eb2875690
[FIR-TEST] Actualize test added in 661812b255
2020-04-07 13:51:36 +03:00
Igor Chevdar
ae906c163d
[IR] Added possibility to customize inline functions resolver
2020-04-07 13:25:46 +03:00
Victor Petukhov
661812b255
NI: add test for KT-37628
2020-04-07 11:31:29 +03:00
Mikhail Bogdanov
f966ce2431
Minor. Updated used JDKs in test for different JDKs
2020-04-07 09:43:46 +02:00
Ilya Matveev
f7f7d237e0
[KLIB] Support unpacked klibs with dots in names in ToolingResolve
2020-04-07 12:47:54 +07:00
Mikhail Glukhikh
565340667c
Fix black box test data generation (IGNORE_BACKEND_FIR)
2020-04-06 18:25:04 +03:00
Dmitriy Dolovov
4c6bddf6be
KLIB: Fix reading property lists in Properties.propertyList()
...
1. If property is absent, or contains empty string or a string consisting only of whitespace characters, Properties.propertyList() should always return empty List<String>.
2. If property starts or ends with whitespace characters, Properties.propertyList() should not include empty-string values for whitespace prefix or suffix.
2020-04-06 21:36:26 +07:00
Mikhail Glukhikh
32748ea741
[FIR] Change char constant rendering to prevent encoding inconsistencies
2020-04-06 16:41:58 +03:00
Mikhail Glukhikh
4cb4aae7ee
[FIR2IR] Move backing field creation in Fir2IrDeclarationStorage
2020-04-06 16:41:58 +03:00
Juan Chen
882e6931d6
[FIR] Add backing fields to const properties during Fir2Ir translation
2020-04-06 16:41:57 +03:00
Jinseong Jeon
08ca6f5f99
[FIR2IR] Set @Metadata when declaring IR symbols
2020-04-06 16:41:57 +03:00
Florian Kistner
b7e270f1c1
Add listener for module descriptor invalidation
2020-04-06 14:01:06 +02:00
Vyacheslav Gerasimov
ca0f59dbc4
Use linux endings in generated tests
2020-04-06 14:06:15 +03:00
Dmitry Petrov
d5ace43614
KT-37986 Force boxing of inline class returned from function reference
...
KT-37998 Provide KotlinType for safe call
2020-04-04 01:32:45 +03:00
pyos
5ed845d0b4
JVM_IR: reuse same bodies for suspend funs and $$forInline versions
2020-04-03 19:51:45 +02:00
pyos
8945d5a0df
JVM_IR: remove $$forInline checks from ExpressionCodegen
2020-04-03 19:51:45 +02:00
Ilya Gorbunov
8194652793
Allow placing Suppress on a type parameter
...
#KT-12448
2020-04-03 19:36:37 +03:00
Ilya Gorbunov
fcada0a5e3
Make use of contracts of time measurement functions
2020-04-03 19:36:36 +03:00
Dmitry Petrov
a422a12407
Minor: update testData
...
In BridgeTest::testFakeOverrideMisleadingImplementation,
order of generated bridges has changed slightly
(but the overall set of generated bridges remains the same).
2020-04-03 18:31:39 +03:00
Mikhail Glukhikh
75283c74ac
[FIR] Generate type arguments for variable assignments
2020-04-03 17:21:39 +03:00
Mikhail Glukhikh
d7460d47de
[FIR] Generate dispatch & extension receivers for variable assignments
2020-04-03 17:21:21 +03:00
Alexander Udalov
774fc32f3e
JVM IR: support optimized callable reference superclasses
...
See KT-27362.
#KT-37334 Fixed
2020-04-03 15:37:56 +02:00
Alexander Udalov
bb1a12e28e
JVM IR: use correct owner for callable references in optimized multifile classes
...
The owner should always be the facade class, because the part class is
package-private and will be inaccessible from other package.
Note that in the old backend, function references already do have the
facade as the owner correctly, but property references don't, this is
reported as KT-37972.
2020-04-03 15:37:56 +02:00
Alexander Udalov
78467792d5
JVM IR: rename CallableReferenceLowering -> FunctionReferenceLowering
...
Property references are handled by PropertyReferenceLowering.
2020-04-03 15:37:56 +02:00
Dmitriy Novozhilov
238488d4fb
[FIR] Fix collection subgraphs to drop from delegate calls
2020-04-03 15:22:58 +03:00
Mikhail Glukhikh
b21da3910a
[FIR] Set type arguments also in provideDelegate property reference
2020-04-03 13:42:06 +03:00
Mikhail Glukhikh
8bf4ec66a9
[FIR] Fix receiver type order in delegate property reference
2020-04-03 13:34:46 +03:00
Mikhail Glukhikh
f374c36cd2
[FIR2IR] Generate property extension receiver references properly
2020-04-03 13:31:15 +03:00
Mikhail Glukhikh
4234438d8d
[FIR] Generate thisRef more correctly for extension property
2020-04-03 13:30:55 +03:00
Mikhail Glukhikh
f3f7bf70f6
[FIR] Set delegate field receiver properly
2020-04-03 13:29:55 +03:00
Mikhail Glukhikh
036b6c63f6
[FIR] During resolve, set correctly property reference type in delegate
2020-04-03 13:18:47 +03:00
Mikhail Glukhikh
58e00400f1
[FIR2IR] Support PROPERTY_REFERENCE_FROM_DELEGATE origin
2020-04-03 13:05:13 +03:00
Mikhail Glukhikh
5f8fadb220
[FIR2IR] Remove GET_PROPERTY origin from delegate field reads
2020-04-03 13:04:56 +03:00
Jinseong Jeon
94749855b9
FIR: fix visibility extension for fake override.
2020-04-03 13:03:50 +03:00
Igor Yakovlev
a71fd0e6d9
Support for showing rendered doc comments in editor
...
Fixed #KT-37361
2020-04-03 12:38:51 +03:00
Dmitriy Novozhilov
d620802a18
[FIR] Add equals and hashCode to ConeCapturedType
2020-04-03 10:09:13 +03:00
Dmitriy Novozhilov
7dd91df10b
[FIR] Don't analyze with DFA already analyzed classes
2020-04-03 10:08:26 +03:00
Dmitriy Novozhilov
0b2536199b
[FIR] Don't analyze delegated constructor calls twice
2020-04-03 10:08:25 +03:00
Dmitriy Novozhilov
20d0e8647d
[FIR] Pass data flow to init blocks of local classes
2020-04-03 10:08:25 +03:00
Dmitriy Novozhilov
16b5b2dcef
[FIR] Add symbol to FirAnonymousInitializer
2020-04-03 10:08:24 +03:00
Dmitriy Novozhilov
bcd2e5ed2c
[FIR] Add control flow graph to inplace lambdas
2020-04-03 10:08:24 +03:00
Dmitriy Novozhilov
1d39270b3e
[FIR] Don't pass data flow to property accessors of non local classes
2020-04-03 10:08:24 +03:00
Dmitriy Novozhilov
bb8d743741
[FIR-TEST] Throw RuntimeException instead of AssertionError in FirResolveBench
...
This is needed for better usability of testing of changes which
brake testdata and introduce new exceptions from compiler at same time
2020-04-03 10:08:23 +03:00