Denis.Zharkov
a4ccb72b94
Add tests making sure that a couple of issues are fixed by PCLA
...
^KT-49283 Fixed
^KT-64077 Fixed
2024-02-09 13:03:12 +00:00
Brian Norman
c8e77aad91
[FIR] Fix CFG/DFA for delegate properties within PCLA
...
^KT-65262 Fixed
2024-02-07 22:34:12 +00:00
Denis.Zharkov
66d8f471d9
K2: Fix internal error in FIR2IR caused by PCLA + String interpolation
...
There's an implicit contract in PCLA that the statement-level call
should be postponed iff it has something to be postponed inside.
And that contract didn't work well for string interpolation containing
some postponed calls.
Thus, we haven't run a completion results writing for them properly,
thus leaving type parameters (K from synthetic call) for expression
types instead of an inferred substituted type.
In this commit, the contract was reversed to explicitly enumerate
the cases when it's safe to resolve the candidate outside PCLA session.
See the comments at `mightBeAnalyzedAndCompletedIndependently`.
^KT-65341 Fixed
2024-02-02 15:40:47 +00:00
Denis.Zharkov
ca80ddb8ca
K2: Run completion-writer related PCLA tasks for irregular call kinds
...
- For synthetic calls
- For delegated constructor calls
Also, I checked that for each toResolvedReference() (beside annotations)
that converts candidate to the resolved reference,
we run `runPCLARelatedTasksForCandidate()` in the same context.
^KT-65103 Fixed
2024-01-26 18:13:27 +00:00
Kirill Rakhman
251827c9aa
[FIR] Don't approximate captured types
...
This fixes some type argument mismatch errors caused by a captured type
being approximated and then captured again.
Some places need to be adapted to work with captured types that
previously only worked with approximated types.
#KT-62959 Fixed
2024-01-17 08:20:05 +00:00
Denis.Zharkov
72b0372927
K2: Allow PCLA inference when a value parameter has a TV type
...
^KT-64877 Fixed
2024-01-11 10:32:12 +00:00
Denis.Zharkov
7e4d9d9f64
K2: Add new tests for PCLA implementation
...
Many of them have been found & minimized at FP tests/user projects
^KT-59791 Fixed
2024-01-10 14:56:31 +00:00
Denis.Zharkov
b9019d3de1
K2: Adjust test data after PCLA implementation [red-to-green]
...
^KT-59791 In Progress
2024-01-10 14:56:30 +00:00
vladislav.grechko
34bac48541
Add JVM ABI K1/K2 consistency tests
2023-12-26 10:18:19 +00:00
Mikhail Glukhikh
4b649cbbe9
[tests] Drop a BI codegen test for should-be-red issue KT-63648
2023-12-05 18:15:53 +00:00
Mikhail Glukhikh
254bcdc80a
[tests] Change builder inference tests in accordance with KT-53749 changes
2023-12-05 18:15:53 +00:00
Stanislav Ruban
7515efc52c
[tests] Change builder inference tests in accordance with new K2 BI diagnostics
...
Related to KT-59369, KT-59390
2023-12-05 18:15:53 +00:00
Stanislav Ruban
4f38d77fae
[tests] Add test data for KT-63840
2023-12-05 18:15:52 +00:00
Stanislav Ruban
2bcaa3eb8f
[tests] Add test data for KT-63733
2023-12-05 18:15:52 +00:00
Stanislav Ruban
a836e94619
[tests] Add test data for KT-63648
2023-12-05 18:15:52 +00:00
Stanislav Ruban
4671a9612a
[tests] Add test data for KT-61310
2023-12-05 18:15:52 +00:00
Stanislav Ruban
7dc3ed61c0
[tests] Add test data for KT-60447
2023-12-05 18:15:52 +00:00
Stanislav Ruban
7a254cab9a
[tests] Add test data for KT-60291
2023-12-05 18:15:51 +00:00
Stanislav Ruban
e5642d83aa
[tests] Add test data for KT-59798
2023-12-05 18:15:51 +00:00
Stanislav Ruban
4676b8a2ca
[tests] Add test data for KT-59426
2023-12-05 18:15:51 +00:00
Stanislav Ruban
f90bd8821c
[tests] Add test data for KT-57834
2023-12-05 18:15:51 +00:00
Stanislav Ruban
e3fce848b4
[tests] Add test data for KT-57709
2023-12-05 18:15:51 +00:00
Stanislav Ruban
55485a8fd6
[tests] Add test data for KT-57707
2023-12-05 18:15:51 +00:00
Stanislav Ruban
2226486152
[tests] Add test data for KT-56949
2023-12-05 18:15:51 +00:00
Stanislav Ruban
4021e022b7
[tests] Add test data for KT-55281
2023-12-05 18:15:51 +00:00
Stanislav Ruban
6532eb4c60
[tests] Add test data for KT-55057
2023-12-05 18:15:51 +00:00
Stanislav Ruban
bb054f75b5
[tests] Add test data for KT-55056
2023-12-05 18:15:51 +00:00
Stanislav Ruban
ddb7c6cff8
[tests] Add test data for KT-54767
2023-12-05 18:15:51 +00:00
Stanislav Ruban
f600e1f591
[tests] Add test data for KT-54664
2023-12-05 18:15:51 +00:00
Stanislav Ruban
205d568545
[tests] Add test data for KT-54400
2023-12-05 18:15:51 +00:00
Stanislav Ruban
126022a80d
[tests] Add test data for KT-53740
2023-12-05 18:15:51 +00:00
Stanislav Ruban
7d040af24c
[tests] Add test data for KT-53639
2023-12-05 18:15:51 +00:00
Stanislav Ruban
9dd3cf7bfc
[tests] Add test data for KT-53553
2023-12-05 18:15:51 +00:00
Stanislav Ruban
982e8133ba
[tests] Add test data for KT-53422
2023-12-05 18:15:50 +00:00
Stanislav Ruban
96e12584a1
[tests] Add test data for KT-53109
2023-12-05 18:15:50 +00:00
Stanislav Ruban
385b29f9c2
[tests] Add test data for KT-52838
2023-12-05 18:15:50 +00:00
Stanislav Ruban
f6a3f999c3
[tests] Add test data for KT-52757
2023-12-05 18:15:50 +00:00
Stanislav Ruban
50e58c00ea
[tests] Add test data for KT-50827
2023-12-05 18:15:50 +00:00
Stanislav Ruban
de8f0c157e
[tests] Add test data for KT-50453
2023-12-05 18:15:50 +00:00
Stanislav Ruban
9de8d020f1
[tests] Add test data for KT-49263
2023-12-05 18:15:50 +00:00
Stanislav Ruban
2a257091fb
[tests] Add test data for KT-49160
2023-12-05 18:15:50 +00:00
Stanislav Ruban
cef44cfa7d
[tests] Add test data for KT-47989
2023-12-05 18:15:50 +00:00
Stanislav Ruban
04b05f7912
[tests] Add test data for KT-43710
2023-12-05 18:15:50 +00:00
Stanislav Ruban
80462efe7e
[tests] BI (1P&1TV/1TIO): add additional test data for contexts of source-sink feeds
...
single builder parameter
single postponed type variable
single origin of type information
relevant issues:
KT-63816
2023-11-30 06:26:59 +00:00
Stanislav Ruban
196f5760f8
[tests] BI (1P&1TV/1TIO): add test data for sinks & sources of type information [1/X]
...
single builder parameter
single postponed type variable
single origin of type information
cover member properties as type info sinks;
cover extension functions as type info sinks;
cover extension properties as type info sinks;
cover extension functions as type info sources;
cover extension properties as type info sources;
cover input values of builder arguments as type info sinks;
cover input values of builder arguments as type info sources;
cover return types of builder parameters as type info sources;
relevant issues:
KT-61907
KT-61909
KT-63477
2023-11-17 07:02:15 +00:00
Stanislav Ruban
a03f65e06b
!fixup [tests] BI (1P&1TV/1TIO): add tests for target types
...
failing legacy JVM backend tests for
LocalClass.kt and GenericLocalClass.kt test data
were not initially muted
2023-08-25 14:01:56 +00:00
Stanislav Ruban
44a4c4ee1c
[tests] BI (1P&1TV/1TIO): add tests for target types
...
single builder parameter
single postponed type variable
single origin of type information
relevant issues:
KT-60719
KT-60720
KT-60855
KT-60877
KT-60880
2023-08-25 14:01:56 +00:00
Stanislav Ruban
8bd823de0d
[tests] BI (1P&1TV/1TIO): add tests for contexts of source-sink feeds
...
single builder parameter
single postponed type variable
single origin of type information
relevant issues:
KT-60274
KT-60663
2023-07-27 14:25:08 +00:00
Stanislav Ruban
b13a225949
[tests] BI (1P&1TV/1TIO): add tests for basic cases
...
single builder parameter
single postponed type variable
single origin of type information
relevant issues:
KT-59551
2023-07-27 14:25:07 +00:00
Victor Petukhov
39e579db91
Move tests for builder inference into the corresponding directory
2020-12-25 11:25:39 +03:00