Denis Zharkov
755b846877
FIR: Support safe-calls in renderers
...
^KT-38444 In Progress
2020-06-03 10:43:37 +03:00
Dmitriy Novozhilov
41cdb61ef3
[FIR] Move all symbol providers to separate package
2020-05-29 10:20:57 +03:00
Dmitriy Novozhilov
8d686226c7
[FIR] Introduce FirResolveProcessors
2020-05-24 18:04:47 +03:00
Dmitriy Novozhilov
24c8a659ee
[FIR] Add FirSession as parameter for FirTotalResolveTransformer
2020-05-20 10:40:55 +03:00
Denis Zharkov
6fdbc38cf1
FIR: Fix label/receiver for lambda within infix calls
...
While this fix only changes label name, it's important for proper
lambda resolution because receiver is set for a lambda
only in presence of a label
This commit fixes a lot of checkType calls in diagnostic tests
2020-04-21 09:52:52 +03:00
Dmitriy Novozhilov
a446aa2266
[FIR] Set implicit type for delegated constructor calls in fir builder
2020-04-17 12:37:28 +03:00
Dmitriy Novozhilov
4e1bf5f1e2
[FIR] Add extracting contracts in raw fir builder and light tree builder
2020-04-15 11:12:57 +03:00
Nikolay Krasko
034af78b0f
Fix mass build-failure because of bad dependencies in :compiler:visualizer module
...
Rename raw-fir:common to raw-fir:common -> raw-fir:fir-common.
If there's dependency both on :compiler:visualizer:common and
:compiler:fir:raw-fir:common, only one of artifact is left in classpath
2020-03-26 01:21:37 +03:00
Dmitriy Novozhilov
6c9dd8bb22
[FIR] Reorganize modules of raw fir builders
2020-03-25 18:07:27 +03:00
Mikhail Bogdanov
420dd0d440
Extract directive map to separate class
2020-03-19 16:45:10 +01:00
Mikhael Bogdanov
ab7e71fd68
Support per files test directives
2020-03-19 16:45:10 +01:00
Dmitriy Novozhilov
cc07ae96b3
[FIR-TEST] Move analysis tests to separate module
2020-03-19 09:51:01 +03:00
Mikhael Bogdanov
46397dca4a
Switch 'AbstractVisualizer' to new scheme with configuration kind
2020-03-04 14:51:20 +01:00
Mikhael Bogdanov
59679476f6
Always create test files, directive processing would be based on them
...
This is required for extracted 'getTestJdkKind' in previous commits
2020-03-04 14:51:16 +01:00
Mikhael Bogdanov
7040857d77
Convert KotlinMultiFileTestWithJava.java to Kotlin
2020-03-04 14:51:14 +01:00
Mikhael Bogdanov
999b762288
Merge 'getTestJdkKind' and 'getJdkKind' and move to base class
2020-03-04 14:51:12 +01:00
Mikhael Bogdanov
a795c38eb7
Introduce base class for codegen and diagnostic tests
...
Extract base TestFile and TestModule classes.
Move coroutinePackage related logic to base class
2020-03-04 14:51:10 +01:00
Denis Zharkov
53454a783c
Fix project compilation
2020-02-27 18:54:26 +03:00
Denis Zharkov
434444cd69
FIR: Support FirComparisonOperator in body transformers and DFA
...
^KT-31163 In Progress
2020-02-27 18:21:34 +03:00
Mikhail Glukhikh
ace259314b
Use 'symbol' instead of 'classId' in FirResolvedQualifier
...
This commit solves problem with resolved qualifier of local class
#KT-36758 Fixed
2020-02-19 22:41:23 +03:00
Dmitriy Novozhilov
d57fa859c8
[FIR] Implement builders for leaf nodes of FIR tree
2020-02-10 10:54:03 +03:00
Mikhail Glukhikh
2b05320ae9
[Raw FIR] Synchronize enum entry building in PSI / light AST modes
2020-01-10 10:23:51 +03:00
Alexander Udalov
8a4510c21b
Regenerate tests
2020-01-02 10:31:00 +01:00
Simon Ogorodnik
1715f1a864
[FIR] Refactoring: create use-site scopes via scope provider
2019-12-30 12:52:58 +03:00
Mikhail Glukhikh
a8a50fa657
Fix raw FIR building with parenthesized expression as selector
2019-12-27 09:57:34 +03:00
Dmitriy Novozhilov
e7f8c8e155
[TEST] Regenerate tests after previous commit
2019-12-12 16:11:45 +03:00
Dmitriy Novozhilov
b76c984b26
[FIR] Support IntegerLiteralTypes
2019-12-09 17:24:26 +03:00
Dmitriy Novozhilov
43e621530f
[FIR] Add type parameters to FirQualifierExpression
...
It is needed for resolving qualifiers with type arguments
like `Array<String>::class`
2019-11-25 14:44:44 +03:00
Denis Zharkov
159aefd26d
FIR: Refactor Cone types
...
- Get rid of AbbreviatedType
2019-11-20 17:57:35 +03:00
Denis Zharkov
f178cb6fb3
FIR: Replace trivial usages of ConeClassType with ConeClassLikeType
2019-11-20 17:55:23 +03:00
Dmitriy Novozhilov
35dd1cf75a
[FIR] Fix binding return expression to function
2019-11-19 10:43:46 +03:00
Dmitriy Novozhilov
18dc652404
[FIR] Get rid of operation in FirVariableAssignment
...
`FirVariableAssignment` is creates only for expressions `x = y`
For other assign operators there is a `FirOperatorCall`
2019-11-08 12:12:39 +03:00
Dmitriy Novozhilov
4f8a8f84ba
[FIR] Update some testdata in fir visualizer test
2019-11-07 10:39:22 +03:00
Dmitriy Novozhilov
abf41f87a1
[FIR] Fix rendering of local variables in Visualizer
2019-11-07 10:39:21 +03:00
Dmitriy Novozhilov
f0ba9c3c40
[FIR] Make file separator in AbstractVisualizer OS independent
2019-11-07 10:39:21 +03:00
Dmitriy Novozhilov
8b5f568a15
[FIR] Introduce FirDiagnostic in FIR instead of errorReason
2019-11-01 10:25:34 +03:00
Mikhail Glukhikh
e1c889e871
Make FirClass a kind of FirClassLikeDeclaration, introduce FirRegularClass/AnonymousObject symbols
2019-10-29 16:27:41 +03:00
Dmitriy Novozhilov
0d15ff1ddd
[FIR] Introduce FirSourceElement instead of FirElement as source in fir nodes
2019-10-29 13:03:13 +03:00
Denis Zharkov
1564e72b59
FIR: Rename FirResolvedCallableReference -> FirResolvedNamedReference
...
^KT-32725 In Progress
2019-10-28 17:07:18 +03:00
Dmitriy Novozhilov
45de26763a
[FIR] Fix import broken in 93a3c232
2019-10-23 15:50:43 +03:00
Nikolay Krasko
4ed64b0283
Regenerate tests with TargetBackend.ANY remove and using runTest with this
2019-10-23 12:49:48 +03:00
Dmitriy Novozhilov
cb981919f9
[FIR] Replace FIR tree with generated implementation
2019-10-10 17:53:30 +03:00
Mikhail Glukhikh
4cd8b78779
FIR: eliminate most usages of FirSession.service() and getService()
2019-10-08 16:19:54 +03:00
Dmitriy Novozhilov
e70c1d6959
[FIR] Remove default visited hierarchy
2019-09-17 18:09:18 +03:00
Mikhail Glukhikh
13b16cfe75
Refactoring: get rid of firSafeNullable, enhance getSymbolByLookupTag
2019-09-17 10:10:07 +03:00
Mikhail Glukhikh
20c45a8382
FIR general refactoring: get rid of ConeSymbols
2019-09-16 16:55:42 +03:00
Yan Zhulanow
996d9a5d90
Pill: Enable Pill for FIR visualizer modules
2019-09-10 21:38:38 +09:00
Ivan Cilcic
24cce75899
Add FIR_IGNORE directive to test files that must be skipped
2019-08-30 11:54:21 +03:00
Ivan Cilcic
350bd33769
Move FirRenderer class inside FirVisualizer to avoid ambiguity with existed FirRenderer
2019-08-30 11:50:35 +03:00
Ivan Cilcic
262f57d938
Add more tests in uncommonCases folder
...
1) dataClass.kt - test with data class
2) receiver.kt - test with Int extension receiver
3) delegation.kt - test with implementation by delegation
2019-08-30 11:50:35 +03:00