Allow generic type parameter to have mixed constraints for @InlineOnly functions
#KT-19323 Fixed
This commit is contained in:
@@ -10289,6 +10289,11 @@ public class DiagnosticsTestGenerated extends AbstractDiagnosticsTest {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/nonNullUpperBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("typeParameterAsUpperBound.kt")
|
||||
public void testTypeParameterAsUpperBound() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/typeParameterAsUpperBound.kt");
|
||||
}
|
||||
|
||||
@TestMetadata("useBoundsIfUnknownParameters.kt")
|
||||
public void testUseBoundsIfUnknownParameters() throws Exception {
|
||||
runTest("compiler/testData/diagnostics/tests/inference/upperBounds/useBoundsIfUnknownParameters.kt");
|
||||
|
||||
Reference in New Issue
Block a user