Stop subtyping constraint search if equality constraints for...
all not fixed type vars are found #KT-35626 fixed
This commit is contained in:
-1
@@ -1,5 +1,4 @@
|
||||
// ERROR: Type mismatch: inferred type is Any but String was expected
|
||||
// ERROR: Type mismatch: inferred type is Any but String was expected
|
||||
// ERROR: Type mismatch: inferred type is Array<String> but Array<Any> was expected
|
||||
import java.util.Arrays
|
||||
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
// ERROR: Type mismatch: inferred type is (Any?..Any?) but String? was expected
|
||||
// ERROR: Type mismatch: inferred type is Any! but String? was expected
|
||||
// ERROR: Type mismatch: inferred type is (Any?..Any?) but String? was expected
|
||||
// ERROR: Type mismatch: inferred type is Any! but String? was expected
|
||||
// ERROR: Type mismatch: inferred type is (Any?..Any?) but String? was expected
|
||||
// ERROR: Type mismatch: inferred type is HashMap<Any?, Any?> but Map<String?, String?> was expected
|
||||
import java.util.HashMap
|
||||
import java.util.Properties
|
||||
|
||||
Reference in New Issue
Block a user