Dmitriy Novozhilov
59bedaaa55
[FIR] Rename FirElvisCall to FirElvisExpression
...
FirElvisCall is not a FirCall, so FirElvisExpression is more
convenient name
2020-07-03 17:09:29 +03:00
Dmitriy Novozhilov
102c9c08d0
[FIR] Resolve elvis call as special synthetic call
...
Before that commit we desugared `a ?: b` as
when (val elvis = a) {
null -> b
else -> elvis
}
It was incorrect, because `a` should be resolved in dependent mode,
but when it was `elvis` initializer it was resolved in independent
mode, so we can't infer type for `a` in some complex cases
2020-07-02 15:10:51 +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
291afd8448
FIR: Remove FirQualifiedAcces.safe in non-generated code
...
^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
Dmitriy Novozhilov
60fd505a9c
[FIR] Get rid of FirSealedClass node
...
Now list of inheritors is hold in attributes of `FirRegularClass`
2020-05-29 10:22:00 +03:00
simon.ogorodnik
49d361b6eb
[FIR] Improve type-parameter rendering in html dump
2020-04-13 20:26:15 +03:00
simon.ogorodnik
cb00a4c136
[FIR] Update type parameter use-sites to use type parameter refs
2020-04-13 20:26:15 +03:00
simon.ogorodnik
d2fd377605
[FIR] Add rendering of delegating constructor calls to html dump
2020-04-08 14:56:16 +03:00
simon.ogorodnik
42a48ef312
[FIR] Improve constraint errors rendering in html dump
2020-04-07 16:24:59 +03:00
simon.ogorodnik
2c8a9bf437
[FIR] Fix nullability rendering for class like types in html dump
2020-04-07 16:24:59 +03:00
simon.ogorodnik
7d3b2558f0
[FIR] Improve rendering for unsigned literals in html dump
2020-04-07 16:24:58 +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
simon.ogorodnik
29dc45fb66
[FIR] Enable property delegate rendering in html dump
2020-03-24 18:58:17 +03:00
simon.ogorodnik
762861a2e9
[FIR] Adjust abbreviated type rendering in Html dump
2020-03-24 18:58:17 +03:00
Denis Zharkov
afb84b1d2a
FIR: Support type aliased declarations in HtmlFirDump
2020-03-09 12:56:02 +03:00
Dmitriy Novozhilov
d4f57fb835
[FIR] Support comparision operator and reified parameter reference in html dump
2020-03-03 09:57:45 +03:00
simon.ogorodnik
f405b3f827
[FIR] Reorganize ConeKotlinTypeProjection hierarchy
2020-02-27 19:07:16 +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
635ff59d10
[FIR] Fix compiler error after 2aeb1ea2
2020-02-18 17:46:43 +03:00
Dmitriy Novozhilov
3790f31d80
[FIR] Support FirVarargArgumentsExpression in html dump
2020-02-14 17:53:29 +03:00
Mikhail Glukhikh
f20845ba40
Get rid of FirMemberFunction
2020-02-04 15:00:09 +03:00
Dmitriy Novozhilov
f68542e651
[FIR] Add FirEnumEntry to HTML dump
2020-01-23 14:31:33 +03:00
Mark Punzalan
91f97fa611
[FIR] Support FirCheckNotNullCall in HTML dump.
2019-12-11 16:54:15 +03:00
Dmitriy Novozhilov
b76c984b26
[FIR] Support IntegerLiteralTypes
2019-12-09 17:24:26 +03:00
Dmitriy Novozhilov
6f222edb88
[FIR] Add unresolved type counter to html dump
2019-12-05 18:17:13 +03:00
Dmitriy Novozhilov
088a949403
[FIR] Add implicit type counter to html dump
2019-12-05 17:46:59 +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
Simon Ogorodnik
f49bc0e96d
[FIR] Improve keyword colors (light-theme) in html dump
2019-11-19 16:50:46 +03:00
Simon Ogorodnik
36979e7937
[FIR] Support ConeDefinitelyNotNullType in html dump
2019-11-19 16:50:44 +03:00
Simon Ogorodnik
9249d1b727
[FIR] Support diagnostics in Html dump
2019-11-19 16:50:43 +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
829227255d
[FIR] Add rendering of error numbers per file/package/module in HTML dump
2019-11-01 13:24:57 +03:00
Dmitriy Novozhilov
8b5f568a15
[FIR] Introduce FirDiagnostic in FIR instead of errorReason
2019-11-01 10:25:34 +03:00
Denis Zharkov
1564e72b59
FIR: Rename FirResolvedCallableReference -> FirResolvedNamedReference
...
^KT-32725 In Progress
2019-10-28 17:07:18 +03:00
Dmitriy Novozhilov
59fd47bfd0
[FIR] Add special node for sealed classes
2019-10-17 16:20:59 +03:00
Dmitriy Novozhilov
cb981919f9
[FIR] Replace FIR tree with generated implementation
2019-10-10 17:53:30 +03:00
Mikhail Glukhikh
9801e06eac
Use .firSymbolProvider instead of service, deprecate FirSession.service
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
20c45a8382
FIR general refactoring: get rid of ConeSymbols
2019-09-16 16:55:42 +03:00
Dmitriy Novozhilov
9508fc60c9
[FIR] Remove FirUncheckedNotNullCastImpl from FIR
2019-09-02 10:43:09 +03:00
Dmitriy Novozhilov
ba7a137e74
[FIR] Add fir node for binary && and ||
2019-08-22 10:55:07 +03:00
Dmitriy Novozhilov
637fb55a7b
[FIR] Add implementation of intersection types to Fir type system
2019-08-22 10:55:07 +03:00
Mikhail Glukhikh
213f951da3
FIR: partial implementation of delegate resolve #KT-32217 Fixed
2019-07-25 09:46:34 +03:00
Mikhail Glukhikh
c35d7eab70
Refactor FIR symbols to make them and their FIR element types more clear
...
This commit also fixes work with Java synthetic properties
2019-07-11 12:37:32 +03:00
Vyacheslav Gerasimov
5a39c637c2
Build: Fix intellij dependency leak from ir tree module
2019-06-13 21:03:55 +03:00
Mikhail Glukhikh
2db8409d85
FIR: introduce & resolve spread named arguments #KT-31575 Fixed
2019-05-28 10:20:42 +03:00
Mikhail Glukhikh
6589fbbfbb
Raw FIR: set val setter to null instead of default one
2019-05-28 10:17:22 +03:00