Alexander Udalov
b6fdc96994
Reverse dependency 'psi' <-> 'frontend.common'
...
Move ParseUtils to 'psi', and ImportPath to 'frontend.common'.
Now 'psi' depends on 'frontend.common', and that allows to remove
dependency of 'fir:tree:tree-generator' on 'psi', allowing the former to
compile in parallel with the old frontend code.
2020-03-28 21:30:07 +01:00
Mikhail Glukhikh
d8bc29e6c6
[FIR] Eliminate obsolete NO_SUPERTYPE diagnostic from builder
2020-03-27 18:24:50 +03:00
Mikhail Glukhikh
cec0f58544
[FIR] Introduce & use toFirLightSourceElement
2020-03-27 16:46:59 +03:00
Mikhail Glukhikh
6a5acc024a
[FIR] Rename PSI version of toFirSourceElement
2020-03-27 16:46:59 +03:00
Mikhail Glukhikh
b27152f903
Replace some FIR syntax errors with more proper diagnostics
2020-03-27 16:46:59 +03:00
Mikhail Glukhikh
2f63c8a46a
[FIR] Enhance diagnostic DSL to be able to use concrete factories
...
Before this commit, things like DiagnosticFactory0<KtDeclaration>
were effectively unusable.
2020-03-27 16:46:58 +03:00
FenstonSingel
b7d8e879a6
[FIR] Support 4 diagnostics for pairs of modifiers
...
In particular, this commit includes:
* Attempt to abstract access to FirSourceElement via FirModifier
* Add more visit functions to DeclarationCheckersDiagnosticComponent
* Add messages+factories for 4 modifier-related errors and warnings
* Introduce FirModifierChecker
2020-03-27 12:34:29 +03:00
Dmitriy Novozhilov
3acb64c536
[FIR] Add flexible default upper bound for java type parameters
2020-03-27 10:17:12 +03:00
Dmitriy Novozhilov
75e2596b34
[FIR] Update imports in generated tree
2020-03-25 18:07:27 +03:00
Dmitriy Novozhilov
86e7faf639
[FIR] Add start offset and end offset to FirSourceElement
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
2c37627b15
[FIR] Add unified diagnostics for psi and light tree
2020-03-25 11:35:43 +03:00
Dmitriy Novozhilov
1a3fef5fa1
[FIR] Switch names of FirDiagnostic and ConeDiagnostic
2020-03-25 11:35:43 +03:00
simon.ogorodnik
27136ef8be
[FIR] Support unsigned integer literals
2020-03-24 18:58:18 +03:00
Nick
abcd6bd528
[FIR] Support diagnostic SUPER_IS_NOT_AN_EXPRESSION
2020-03-23 15:14:06 +03:00
Jinseong Jeon
e46a4246d2
FIR: regard property accessor without body as FirDefaultPropertyAccessor
2020-03-23 15:12:54 +03:00
Dmitriy Novozhilov
6ce8d661ad
[FIR] Add nullability to ILT. #KT-37639 Fixed
2020-03-20 23:11:28 +03:00
Mikhail Glukhikh
50a9313a5e
[FIR] Support some approximation of effective visibility
2020-03-19 16:56:47 +03:00
Mikhail Glukhikh
26a63a45ee
Introduce FirSourceElement.elementType
2020-03-18 17:09:37 +03:00
Mikhail Glukhikh
25ab863af7
Add FlyweightCapableTreeStructure to FirLightSourceElement & use it
2020-03-18 17:09:37 +03:00
Mikhail Glukhikh
59fb96503c
Introduce FirModifierList
2020-03-18 17:09:37 +03:00
Dmitriy Novozhilov
f85022532d
[FIR] Rename FirArraySetCall to FirAugmentedArraySetCall
2020-03-18 11:31:54 +03:00
Dmitriy Novozhilov
2b986194fb
[FIR] Add desugaring of array assignments and resolve of it
...
#KT-37516 Fixed
2020-03-18 11:31:53 +03:00
Dmitriy Novozhilov
37aa234bb7
[FIR] Fix transform of subject of when expressions with subject variable
2020-03-16 17:04:28 +03:00
Dmitriy Novozhilov
698f78570d
[FIR] Add ability to pass data=null to transformInplace with data producer
2020-03-16 17:04:28 +03:00
Dmitriy Novozhilov
f83cedd244
[FIR] Don't render call arguments in cfg dump
2020-03-16 17:04:27 +03:00
Mikhail Glukhikh
1321bf426b
[FIR] Define argument lists and their builders more accurately
2020-03-11 22:08:59 +03:00
Mikhail Glukhikh
3d17ce05b5
[FIR] Introduce FirResolvedArgumentList with argument-parameter mapping
...
#KT-36345 Fixed
2020-03-11 22:08:59 +03:00
Mikhail Glukhikh
91d51b93e1
[FIR] Introduce FirArgumentList node
2020-03-11 22:08:58 +03:00
Alexander Udalov
d668808b44
Migrate Experimental->RequiresOptIn in project sources
2020-03-10 12:07:15 +01:00
Alexander Udalov
795d6ab407
Migrate UseExperimental->OptIn in project sources
2020-03-10 12:07:14 +01:00
Dmitriy Novozhilov
770dfb69ba
[FIR] Analyze all statements in block except last one in independent mode
...
Some broken tests will be fixed in next commit
#KT-37176 Fixed
2020-03-05 16:48:47 +03:00
Dmitriy Novozhilov
4454a0681b
[FIR] Get rid of copying function call in process of completion
2020-03-02 09:49:28 +03:00
Dmitriy Novozhilov
cda8177502
[FIR] Add transformDelegate for FirProperty
2020-03-02 09:07:23 +03:00
Dmitriy Novozhilov
807d41028e
[FIR] FirComponentCall rendered same as FirFunctionCall
2020-03-02 09:07:23 +03:00
Mikhail Glukhikh
50abb07245
[FIR] Record & use type arguments of FirQualifiedAccessExpression
2020-02-28 15:29:00 +03:00
simon.ogorodnik
f405b3f827
[FIR] Reorganize ConeKotlinTypeProjection hierarchy
2020-02-27 19:07:16 +03:00
Denis Zharkov
8fca343ef0
FIR: Support FirComparisonOperator in Fir2Ir
...
^KT-31163 Fixed
2020-02-27 18:21:34 +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
Denis Zharkov
80b7fbd07a
FIR: Add new nodes kind for comparison operator
...
^KT-31163 In Progress
2020-02-27 18:21:34 +03:00
Mikhail Glukhikh
b1e9dbf994
[FIR] Use super<Enum> as delegated calls in enum constructors
2020-02-21 16:37:56 +03:00
Mikhail Glukhikh
f173af9238
FIR2IR: use enum constructor call for enum entries
2020-02-21 16:37:50 +03:00
Mikhail Glukhikh
14fd1d3c9f
[FIR] Check visibility correctly for sealed class in file
2020-02-19 22:41:23 +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
Mikhail Glukhikh
c289612e57
[FIR] Remove debugging println in tree generator
2020-02-19 18:14:45 +03:00
Mikhail Glukhikh
82c8b5f368
[FIR] Eliminate isNotSAM optimization as ineffective (see dc4f332c)
2020-02-19 18:09:06 +03:00
simon.ogorodnik
c29c140a9c
[FIR] Qualifier resolve
2020-02-19 17:53:44 +03:00
Dmitriy Novozhilov
4fbed9b363
[FIR] Add builder for FirExpressionWithSmartcast
2020-02-14 09:18:53 +03:00
Dmitriy Novozhilov
6b378cab29
[FIR] Don't render lambda bodies in arguments of calls in cfg dump
2020-02-14 09:18:53 +03:00
Nikolay Krasko
2a71fe97cf
201: picocontainer.jar is removed
2020-02-11 20:27:59 +03:00
Mikhail Glukhikh
232efa6303
[FIR] Fix situation with synthetic property in implicit body
2020-02-10 18:51:35 +03:00