Files
kotlin-fork/compiler/testData/cli/jvm/selfUpperBoundInference.args
T
Denis.Zharkov ea0d0097ba Fix testSelfUpperBoundInference test in LV 2.0 branch
The test starts failing after switching to 2.0 because we don't support
TypeInferenceOnCallsWithSelfTypes though it's planned (see KT-59012).

This particular test was introduced in 1.5.x (see KT-48026) to check
if the flag -Xself-upper-bound-inference actually enables
the feature TypeInferenceOnCallsWithSelfTypes.

While the feature is enabled by default since 1.6, it doesn't make sense
to have it with earlier versions.
Another solution would be removing it at all, but that might require
removing related code as well (as we would have some dead code in CLI
arguments processing).

^KT-60885 Fixed
2023-09-19 15:46:28 +00:00

7 lines
107 B
Plaintext
Vendored

$TESTDATA_DIR$/selfUpperBoundInference.kt
-d
$TEMP_DIR$
-language-version
1.5
-Xself-upper-bound-inference