IC tests: add infrastructure for K1/K2 lookups comparison

Adapt lookup tests to allow running K1 and K2 on the same testdata
and compare the lookups recorded.
This commit is contained in:
Ilya Chernikov
2024-02-26 11:04:59 +01:00
committed by Space Team
parent 684d0b8690
commit 1989e8f094
40 changed files with 838 additions and 73 deletions
@@ -0,0 +1,21 @@
==== INITIAL BUILD ====
Compiling files:
src/bar.kt
src/constraints.kt
src/foo.kt
src/usages.kt
Exit code: OK
==== STEP 1 ====
Compiling files:
src/usages.kt
Exit code: OK
==== STEP 2 ====
Compiling files:
src/usages.kt
Exit code: COMPILATION_ERROR
Unresolved reference 'vala'.
Unresolved reference 'vara'.
Unresolved reference 'foo'.
Unresolved reference 'bar'.