Denis Zharkov
|
14305d1eba
|
FIR: Simplify callable references resolution
Also that fixes some bugs
|
2020-11-16 15:50:39 +03:00 |
|
Denis Zharkov
|
d4c7d4fc7c
|
FIR: Fix callable references resolution with stub receivers
Use stubReceiver as a receiver for fake calls
See issues KT-43358 KT-43359 KT-43378
|
2020-11-16 15:50:39 +03:00 |
|
Denis Zharkov
|
65119adb6a
|
FIR: Adjust test data. FakeOverride -> SubssitutionOverride
|
2020-11-06 11:32:39 +03:00 |
|
Nick
|
c8f8908a01
|
[FIR] Add NO_THIS & INSTANCE_ACCESS_BEFORE_SUPER_CALL
|
2020-08-24 11:06:10 +03:00 |
|
Nick
|
4669e019d1
|
[FIR] Add diagnostic CONFLICTING_OVERLOADS & REDECLARATION
|
2020-08-10 10:09:37 +03:00 |
|
Dmitriy Novozhilov
|
f283f2db43
|
[FIR] Improve diagnostic reporting & don't use error symbol for candidate if possible
Also introduce few new diagnostics:
- NONE_APPLICABLE more many inapplicable candidates
- HIDDEN for visible candidates
|
2020-07-28 20:46:56 +03:00 |
|
Dmitriy Novozhilov
|
58af8d68a1
|
[FIR] Check for isFun flag in SAM resolution
|
2020-07-08 12:13:32 +03:00 |
|
Dmitriy Novozhilov
|
d7ee168dff
|
[FIR] Create error candidate for completion instead of simple error reference
|
2020-06-15 15:32:25 +03:00 |
|
Denis Zharkov
|
e1e149a062
|
FIR: Support coercion-to-unit semantics for callable references
|
2020-05-18 11:17:45 +03:00 |
|
Jinseong Jeon
|
30e5748fec
|
FIR: set proper visibility of property accessors.
|
2020-05-12 19:47:37 +03:00 |
|
Juan Chen
|
a1e0e8b0e7
|
[FIR] Handle receiver types of extension methods when computing maximally specific types.
Test case (from testPrimitiveReceiver):
fun Short.foo() = 3
fun Int.foo() = 4
1::foo
|
2020-04-15 11:16:33 +03:00 |
|
Dmitriy Novozhilov
|
8a2b39d647
|
[FIR] Add checking receivers of callable references
|
2020-04-08 10:38:45 +03:00 |
|
Dmitriy Novozhilov
|
cc07ae96b3
|
[FIR-TEST] Move analysis tests to separate module
|
2020-03-19 09:51:01 +03:00 |
|