Denis Zharkov
67cc85e02b
FIR: Avoid redundant calls to ensureResolved during call resolution
...
Call ensureResolved only once when creating a candidate
2020-09-01 17:43:30 +03:00
Denis Zharkov
bf2fc10cd6
FIR: Extract AbstractFirBasedSymbol::ensureResolved extension
2020-09-01 17:43:30 +03:00
Denis Zharkov
2529f541ba
FIR: Prepare refactoring of phasedFir
...
- Rename PhasedFirFileResolver -> FirPhaseManager
- Move semantically significant parts to a component
2020-09-01 17:43:30 +03:00
Ilya Goncharov
7fe02238ea
[Gradle, JS] Add more information on Gradle exception
...
^KT-41566 fixed
2020-09-01 17:26:02 +03:00
Ilya Goncharov
076045ce54
[Gradle, JS] Add test with library mixed with executable and browser/nodejs
...
^KT-41566 fixed
2020-09-01 17:26:02 +03:00
Ilya Goncharov
d238483054
[Gradle, JS] Add test with library mixed with executable
...
^KT-41566 fixed
2020-09-01 17:26:02 +03:00
Ilya Goncharov
4a1bccc1e6
[Gradle, JS] Add test on simple js binary library
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
9f04d353a0
[Gradle, JS] Fix test for IR browser distribution
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
134aa6182e
[Gradle, JS] Process resources into kotlin folder
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
06a54c87a0
[Gradle, JS] Compile sync tasks
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
9729554313
[Gradle, JS] Node run task for all binaries
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
7dbde459f0
[Gradle, JS] Run task for library
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
b4baaed87a
[Gradle, JS] Different distributions for different binaries
...
^KT-41566 fixed
2020-09-01 17:26:01 +03:00
Ilya Goncharov
8c74a844f2
[Gradle, JS]] Add custom fields for package.json
...
^KT-35330 fixed
2020-09-01 17:26:00 +03:00
Ilya Goncharov
2d8b95190e
[Gradle, JS] Outputs for distribution tasks as lazy
...
^KT-41566 fixed
2020-09-01 17:26:00 +03:00
Ilya Goncharov
fe72d46fee
[Gradle, JS] Add types into public package json
...
^KT-40753 fixed
2020-09-01 17:26:00 +03:00
Ilya Goncharov
39059c103a
[Gradle, JS] Distribution directory as a lazy
...
^KT-41566 fixed
2020-09-01 17:26:00 +03:00
Ilya Goncharov
82ea324cc1
[Gradle, JS] DefaultDistribution
...
^KT-41566 fixed
2020-09-01 17:26:00 +03:00
Ilya Goncharov
53a23169d9
[Gradle, JS] Node js binaries executable filtering
...
^KT-41566 fixed
2020-09-01 17:26:00 +03:00
Ilya Goncharov
73dbf6b846
[Gradle, JS] Add configureLibrary
...
^KT-41566 fixed
2020-09-01 17:26:00 +03:00
Ilya Goncharov
1318517155
[Gradle, JS] Add configureLibrary
...
^KT-41566 fixed
2020-09-01 17:26:00 +03:00
Ilya Goncharov
c9ca05b477
[Gradle, JS] Add distribute resources tasks for all binaries
...
^KT-41566 fixed
2020-09-01 17:25:59 +03:00
Ilya Goncharov
cc25660d7d
[Gradle, JS] Move distributions tasks into abstract subtarget class
...
^KT-41566 fixed
2020-09-01 17:25:59 +03:00
Roman Artemev
cae29a5d1c
[IR] Clean up WrappedDescriptors API
2020-09-01 17:08:11 +03:00
Roman Artemev
c7b57c0fb3
[IR] Use only empty constructor to create WrappedDescriptor
2020-09-01 17:08:11 +03:00
Roman Artemev
fd88914cf9
[IR] Remove some descriptor usage from Common/JS/JVM backends
...
- replace descriptor-based builders with pure IR ones
- fix matchers
- fix Ir2Js
- rewrite some inliner-helpers to pure-IR implementations
2020-09-01 17:08:11 +03:00
Dmitry Petrov
8cb8284957
EnhancedNullability annotation in IR
...
Fixes KT-40115 & KT-40117.
Move FlexibleNullability annotation to 'kotlin.internal.ir'.
2020-09-01 16:06:03 +03:00
Roman Artemev
0bff406a12
[JS IR] Add infra to test compilation with error
...
- add bunch of tests
- fix help test
2020-09-01 14:53:08 +03:00
Roman Artemev
e592b3af1d
[JS IR] Fix CallsLowering's*
...
- need to fix dev mode since some methods are not handled
with intrinsic lowering
2020-09-01 14:53:08 +03:00
Roman Artemev
7a6415dc53
[JS IR] Enable IrError element's lowerings in JS
2020-09-01 14:53:08 +03:00
Roman Artemev
4dca3715fa
[JS IR | IR] Implement error element lowering to support compilation with errors
2020-09-01 14:53:08 +03:00
Roman Artemev
14b5424583
[JS IR] Support translation of IrError* elements
2020-09-01 14:53:08 +03:00
Roman Artemev
1fd5c1cc65
[IR] Support IrErrorType & IrErrorDeclaration in ir mangler
2020-09-01 14:53:08 +03:00
Roman Artemev
9c36487077
[IR] Disable mangle checker for IrErrorDeclarations
2020-09-01 14:53:07 +03:00
Roman Artemev
563af709a8
[Psi2Ir] Fix generation of IrError* nodes
...
- Provide detailed description
- Support syntax-incorrect statements
- Generate an error declaration if normal generation has failed
2020-09-01 14:53:07 +03:00
Roman Artemev
a60782f3df
[JS IR] Add CLI argument to setup error tolerance policy
...
- Make sure dev mode is enabled if code with errors is allowed
2020-09-01 14:53:07 +03:00
Roman Artemev
8a810e2a5e
[JS IR] Add runtime API to throw ISE in case of compiled code with errors
2020-09-01 14:53:07 +03:00
Roman Golyshev
b3199d14b8
FIR IDE: Use correct property-by-package index in KtFirPackageScope
2020-09-01 14:50:19 +03:00
Roman Golyshev
5180a65f0b
FIR Completion: Use proper types rendering
2020-09-01 14:28:59 +03:00
Roman Golyshev
7649043479
FIR IDE: Set correct source for the function built in the air
...
- This enables the completion to work in the declaration itself, not
only in body
2020-09-01 10:09:46 +00:00
Roman Golyshev
90c89bddc5
FIR IDE: Add collecting scopes for declarations
...
- They are required to perform completion in default arguments,
return types, and other declaration parts (except for body)
2020-09-01 10:09:46 +00:00
Roman Golyshev
76eb5d46f4
FIR IDE: Add FirTowerDataContextCollector class
...
- This class just encapsulates the map that is used to collect scopes
2020-09-01 10:09:45 +00:00
Mikhail Zarechenskiy
9c217e3d99
Reuse revised variables during lambda analysis against type variables
...
#KT-41400 Fixed
2020-09-01 13:04:53 +03:00
Dmitriy Novozhilov
011bb0924a
[FIR-IDE] Introduce FirIdeSessionFactory for creating ide sessions
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
cb47e631f8
[FIR] Move extended checkers containers to :compiler:fir:entrypoint
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
f14efedc3d
[FIR] Fix broken gradle compilation
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
c250912ee0
[FIR-TEST] Use FirAnalyzerFacade in BB and Fir2IrText tests
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
a4e24ca3dc
[FIR] Introduce FirAnalyzerFacade which hides implementation details of running FIR compiler
2020-09-01 12:00:13 +03:00
Dmitriy Novozhilov
6db8c28291
[FIR] Refactor session components initialization
...
From now all customization of session should perform via DSL which
declared in FirSessionFactory. Registration or mutation session
services from other places is prohibited
2020-09-01 12:00:12 +03:00
Dmitriy Novozhilov
2819bd3aaf
[FIR] Get rid of deprecated extension point registration methods usage
2020-09-01 12:00:12 +03:00