Nikolay Krasko
83023c2073
Remove 202 platform support in build scripts
2021-07-23 16:58:28 +03:00
Dmitriy Novozhilov
e94d75d433
[FIR] Add opt-in annotation which prevents from using symbol.fir
2021-07-13 10:31:32 +03:00
Dmitriy Novozhilov
51fc2e453f
[FIR] Unity FirCallableDeclaration and FirCallableMemberDeclaration
...
After removal of all diamonds in FirDeclaration hierarchy
FirCallableMemberDeclaration was only one inheritor of
FirCallableDeclaration, so there is no need to keep them both
2021-07-13 10:31:20 +03:00
Dmitriy Novozhilov
c6f754cf7a
[Build] remove dependency on IDEA classes from :visualizer
2021-07-09 14:38:03 +03:00
Dmitriy Novozhilov
f400477c70
[FIR] Remove generic parameter from FirDeclaration
2021-06-29 21:03:30 +03:00
Dmitriy Novozhilov
725be466f0
[FIR] Move declaration utils to separate package
2021-06-29 21:03:29 +03:00
Dmitriy Novozhilov
b3e5c6e079
[FIR] Add symbol to all declarations. Get rid of FirSymbolOwner
2021-06-29 21:03:28 +03:00
Dmitriy Novozhilov
39cd1c8504
[FIR] Squash AbstractFirBasedSymbol with FirBasedSymbol
2021-06-29 21:03:28 +03:00
Dmitriy Novozhilov
823cbc59b7
[FIR] Split FirAnonymousFunction to expression and declaration
2021-06-29 21:03:28 +03:00
Dmitriy Novozhilov
5cfa8694d4
[FIR] Fix all usages of declarationSiteSession
2021-05-14 14:30:27 +03:00
Jinseong Jeon
bb37728e4f
FIR: use withNullability with type context whenever possible
...
It could simplify flexible type cases.
2021-05-05 17:35:48 +03:00
Mark Punzalan
9a4742c08d
FIR: Properly build nullable suspend function types, and aggregate
...
modifiers and annotations within KtTypeReference/REFERENCE_TYPE nodes.
2021-04-26 15:11:38 +03:00
Dmitriy Novozhilov
c3b1be1a39
[FIR] Rename FirDeclaration.session to declarationSiteSession
2021-04-22 14:32:02 +03:00
Abduqodiri Qurbonzoda
40d1849f33
Migrate compiler, idea and others to new case conversion api
2021-04-08 03:22:02 +03:00
Denis.Zharkov
d685e2aac7
FIR2IR: Fix inheritance case from built-in interface with default methods
2021-04-01 12:11:37 +03:00
Ilmir Usmanov
786999bcfe
Minor. Add regression tests
...
#KT-44143
2021-04-01 00:51:08 +03:00
Ivan Kylchik
2a5153f0fd
Move visualizer black box tests generator to separate class
2021-03-31 19:46:23 +03:00
Denis.Zharkov
7d211d0d9a
Regenerate VisualizerBlackBoxTestGenerated
2021-03-31 15:57:03 +03:00
Alexander Udalov
1f7cef6f13
Minor, add a bit more tests for KT-12063
2021-03-31 00:08:52 +02:00
pyos
85aa6383ad
JVM_IR: cast bound property receivers to original type
...
Because the receiver type is used for determining where to put
accessors, and the type of fake overrides' receivers is the same as for
the original declaration, casting to the type of the parameter leads to
assertion errors.
#KT-44658 Fixed
2021-03-30 23:09:28 +02:00
Shagen Ogandzhanian
e0e2715864
[js] Fix constant folding for unsigned aithmetic in IR
...
this resolves KT-44138
2021-03-30 16:53:12 +02:00
Ivan Kylchik
736efe0403
[VISUALIZER] Edit black box test to run visualizer on all modules
2021-03-29 18:11:24 +03:00
Ivan Kylchik
097b5a74fb
[VISUALIZER] Rewrite black box runner using callback to TestRunner
2021-03-29 18:11:23 +03:00
Ivan Kylchik
0f70ec032d
[VISUALIZER] Add new visualizer tests processing codegen box test data
2021-03-29 18:11:21 +03:00
Ivan Kylchik
29920d729f
[VISUALIZER] Remove unnecessary abstract property frontendFacade
...
Right frontend facade will be chosen by frontendKind
2021-03-29 18:11:20 +03:00
Ivan Kylchik
e19514f1dc
[VISUALIZER] Render original symbols/descriptors in fir/psi
2021-03-29 18:11:19 +03:00
Ivan Kylchik
869585870d
[VISUALIZER] Rewrite getSymbolId method
...
For now it is more clear that id means. It is a combination
of package name and class name with additional local path
2021-03-29 18:11:18 +03:00
Ivan Kylchik
6d08ef2f41
[VISUALIZER] Allow to render arrayOf call for fir
2021-03-29 18:11:17 +03:00
Ivan Kylchik
74c19807b8
[VISUALIZER] Replace get with getOrNull to avoid NullPointerException
2021-03-29 18:11:16 +03:00
Ivan Kylchik
f32f61a950
[VISUALIZER] Remove all usages of fir native renderer
2021-03-29 18:11:15 +03:00
Igor Yakovlev
25929b50d9
[FIR IDE] RawFirBuilder for lazy bodies
2021-03-21 10:42:29 +01:00
Ivan Kylchik
65fcd72ce1
[VISUALIZER] Add handler for dot qualified expression in fir
...
For some reason source element of such expression in fir
was changed, so to get FirFunctionCall we should seek it
in KtDotQualifiedExpression
2021-03-19 18:30:35 +03:00
Ivan Kylchik
0160174c7a
Extract VisualizerDirectives to separate file
2021-03-19 18:30:34 +03:00
Ivan Kylchik
de351d8bd3
Extract output handlers in visualiser's tests to separate files
2021-03-19 18:30:33 +03:00
Ivan Kylchik
6a439ad186
Add Test postfix to Abstract(Psi|Fir)Visualizer classes
2021-03-19 18:30:31 +03:00
Ivan Kylchik
5efa00821d
Replace junit dependencies with single testApiJUnit5 call
2021-03-19 18:30:30 +03:00
Ivan Kylchik
13ef126d4c
[VISUALIZER] Remove ignore directive from correct test files
2021-03-19 18:30:27 +03:00
Ivan Kylchik
59416f447e
[VISUALIZER] Change rendering of equals call
2021-03-19 18:30:26 +03:00
Ivan Kylchik
dd8a7010f0
[VISUALIZER] Forbid to render unary minus for integer literals
2021-03-19 18:30:25 +03:00
Ivan Kylchik
685f599c82
[VISUALIZER] Allow to render all calls at unary expresion in fir
2021-03-19 18:30:23 +03:00
Ivan Kylchik
84d4a0609f
[VISUALIZER] Fix typealias rendering in fir
2021-03-19 18:30:22 +03:00
Ivan Kylchik
c94a4e7baf
[VISUALIZER] Fix class literals rendering
2021-03-19 18:30:21 +03:00
Ivan Kylchik
fb654ce09b
[VISUALIZER] Fix extension types rendering in fir
2021-03-19 18:30:20 +03:00
Ivan Kylchik
9e5645777d
[VISUALIZER] Add annotation text for backing field in fir
2021-03-19 18:30:19 +03:00
Ivan Kylchik
813e48ffb4
[VISUALIZER] Replace rendering of class with no name to anonymous
2021-03-19 18:30:18 +03:00
Ivan Kylchik
ca424a94ef
[VISUALIZER] Add local path to local declarations in fir
2021-03-19 18:30:16 +03:00
Ivan Kylchik
607c7b3e82
[VISUALIZER] Add implicit receiver rendering in fir
2021-03-19 18:30:15 +03:00
Ivan Kylchik
0ca0304865
[VISUALIZER] Fix render of null constant in fir
2021-03-19 18:30:14 +03:00
Ivan Kylchik
a497a2fa9b
[VISUALIZER] Forbid to render type of single underscore variable
2021-03-19 18:30:13 +03:00
Ivan Kylchik
48ee4791b6
[VISUALIZER] Fix rendering of enum class and enum entry in fir
2021-03-19 18:30:12 +03:00