[IDE-NI-MIGRATE] Migrate few tests for new inference

This commit is contained in:
Mikhail Zarechenskiy
2019-05-06 04:22:44 +03:00
parent c03dfd1522
commit c95eddbbbe
23 changed files with 46 additions and 1 deletions
@@ -1,3 +1,5 @@
// COMPILER_ARGUMENTS: -XXLanguage:-NewInference
val f = listOf("").<error descr="[TYPE_INFERENCE_PARAMETER_CONSTRAINT_ERROR] Type inference failed: fun <T> Iterable<T>.firstOrNull(predicate: (T) -> Boolean): T?
cannot be applied to
receiver: List<String> arguments: (Int)