Dmitriy Novozhilov
dae2acca88
[FIR] Remove useless hack for builtins from supertype resolution
2020-06-03 13:10:17 +03:00
Dmitriy Novozhilov
9fa4ff750b
[FIR] Fix ArrayMapImpl.iterator()
2020-06-03 13:10:17 +03:00
Dmitriy Novozhilov
15d85bdc05
[FIR] Add extension for adding new supertypes
2020-06-03 13:10:17 +03:00
Dmitriy Novozhilov
0c18cb054d
[FIR-PLUGIN] Add tests for generating declarations from plugin
2020-06-03 13:10:17 +03:00
Dmitriy Novozhilov
eceeacdf61
[FIR] Change nested class generation extension to generate top-level classes also
2020-06-03 13:10:16 +03:00
Dmitriy Novozhilov
9cc13c8324
[FIR-PLUGIN] Add dummy implementation for nested class generator extension
2020-06-03 13:10:16 +03:00
Dmitriy Novozhilov
8acdb39bdd
[FIR-PLUGIN] Add dummy implementation for member generator extension
2020-06-03 13:10:16 +03:00
Dmitriy Novozhilov
1b120c189e
[FIR] Record generated classes in FirProvider
2020-06-03 13:10:16 +03:00
Dmitriy Novozhilov
ed55e84afa
[FIR] Distinct declarations found by FirPredicateBasedProvider
2020-06-03 13:10:15 +03:00
Dmitriy Novozhilov
87f0f123a8
[FIR] Add extension for generating new members for existing classes
2020-06-03 13:10:15 +03:00
Ilya Goncharov
bd194686df
[Gradle, JS] Add index.html to Kotlin DSL wizard
...
^KT-39275 fixed
2020-06-03 12:58:59 +03:00
Toshiaki Kameyama
6cb0190fad
FoldInitializerAndIfToElvis: should not add new line for multiline initializer
...
#KT-35805 Fixed
2020-06-03 12:35:50 +03:00
Roman Artemev
5eae262264
[PLUGIN API] Implement custom linkage for plugin extensions
2020-06-03 12:17:14 +03:00
Roman Artemev
a401374ed4
[PLUGIN API] Add extension point to customize linkage process
2020-06-03 12:17:14 +03:00
Roman Artemev
f9c2c846f7
[IR] Move IrProvider and 'IrDeserializer' into separate package
2020-06-03 12:17:14 +03:00
Henrik Tunedal
71da941c8b
Use system-specific user cache directory in main-kts
...
#KT-38222 fixed
2020-06-03 11:11:33 +02:00
Henrik Tunedal
8f80cf5664
Improve hashing of script files
2020-06-03 11:11:30 +02:00
Ilya Goncharov
890da492fb
[Gradle, JS] Fix grammar in methods for JS import
2020-06-03 12:04:20 +03:00
Ilya Goncharov
bc4d7e0020
[Gradle, JS] Fix grammar on comment
2020-06-03 12:04:20 +03:00
Svyatoslav Kuzmich
e9e850ad8f
[JS IR] Fix findInterfaceImplementation
...
isOrOverridesSynthesized uses descriptors which does not work with
wrapped descriptors
2020-06-03 10:47:15 +03:00
Denis Zharkov
19219c37b6
FIR: Fix test data for KT-13650 related test
...
Now, the behavior seems to be more correct then in FE 1.0
2020-06-03 10:43:37 +03:00
Denis Zharkov
7a22827af4
FIR: Unify all references to FIR nodes from non-parents
2020-06-03 10:43:37 +03:00
Denis Zharkov
4a4dce1766
FIR: Use more refined names instead of "safe"
...
^KT-38444 Fixed
2020-06-03 10:43:37 +03:00
Denis Zharkov
6507656496
FIR: Remove FirQualifiedAccessWithoutCallee.safe from generated code
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
291afd8448
FIR: Remove FirQualifiedAcces.safe in non-generated code
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
55a4c40970
FIR: Fix diagnostics test data after safe-call refactoring
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
723b275d99
FIR: Fix rendered fir and DFA graph test data after safe-calls refactoring
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
409e90e7de
FIR: Fix codegen test data after safe-call refactoring
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
080565e482
FIR: Support safe-calls new format in DFA
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
ec746e17c9
FIR: Get rid of RealVariable.originalType
...
Store original type only for local variable aliases
The problem with the former is that RealVariable may be referenced
via safe-calls and via usual calls, but its type is fixed
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
b0b7cf4042
FIR: Support safe-calls new format in FIR2IR
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
7ba1371466
FIR: Support safe-calls new format in body resolution
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
755b846877
FIR: Support safe-calls in renderers
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
9f793f1486
FIR: Support safe-calls new format in FIR builders
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
cb1c3f87f0
FIR: Prepare tree structure for safe-call refactoring
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Denis Zharkov
14a41d91f6
FIR: Extract foldFlow from joinFlow/unionFlow in PersistentLogicSystem
2020-06-03 10:43:37 +03:00
Denis Zharkov
a3d6c42810
FIR: Reuse some common parts in PersistentLogicSystem
2020-06-03 10:43:37 +03:00
Denis Zharkov
233cf13bdc
FIR: Minor. Remove when branch that is just the same as "else"
2020-06-03 10:43:37 +03:00
Denis Zharkov
93f39d5df9
FIR: Minor. Refactor processLevelForPropertyWithInvoke
...
- Rename
- Inline unused default parameter
2020-06-03 10:43:37 +03:00
Denis Zharkov
be4d3783a4
FIR: Fix type resolution for anonymous objects
...
^KT-39050 Fixed
2020-06-03 10:43:37 +03:00
Denis Zharkov
4d484dd971
FIR: Support java array in type argument
...
^KT-37321 Fixed
2020-06-03 10:43:37 +03:00
Dmitriy Novozhilov
164b4dd439
[FIR-TEST] Update testdata according to #KT-39340
2020-06-03 10:36:00 +03:00
Svyatoslav Kuzmich
f8fdb0dc7e
[JS] Add ; after functions in .d.ts
...
Fixes nit from KT-37752
2020-06-03 10:33:46 +03:00
Svyatoslav Kuzmich
2ca751a9fc
[JS] Prevent default class constructors in d.ts files.
...
Generate private TypeScript constructor for classes without public
primary Kotlin constructor.
2020-06-03 10:33:45 +03:00
Svyatoslav Kuzmich
695d383ed1
[JS] Support secondary constructors in JsExport
2020-06-03 10:33:45 +03:00
Mads Ager
f128e5222a
[JVM_IR] Fix line number information for try-catch.
...
In particular, the current line numbers could lead to stepping
into the catch handler even when the code in the try did not
throw an exception.
This was caused by the code materializing the final value having
the catch line number. This patch delays the materialization
until the line number of the usage has been emitted.
2020-06-03 07:33:21 +02:00
Dmitry Petrov
5efbe6ae15
PSI2IR: SAM conversion in varargs
2020-06-02 23:53:47 +03:00
Dmitry Petrov
16f175612e
KT-31908 Handle SAM conversion on vararg elements
2020-06-02 23:53:47 +03:00
Toshiaki Kameyama
343af60cb4
Add intention to expand boolean expression
...
#KT-38597 Fixed
2020-06-02 23:52:06 +03:00
Vladimir Dolzhenko
f005091dfb
Fix performance test stats reporting
2020-06-02 21:44:55 +02:00