Improved error reporting for candidates with wrong parameter count
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
||||
// ERROR: Unresolved reference: LinkedList
|
||||
// ERROR: None of the following functions can be called with the arguments supplied: public open fun add(e: kotlin.Any): kotlin.Boolean defined in java.util.ArrayList public open fun add(index: kotlin.Int, element: kotlin.Any): kotlin.Unit defined in java.util.ArrayList
|
||||
// ERROR: None of the following functions can be called with the arguments supplied: public open fun add(e: kotlin.Any): kotlin.Boolean defined in java.util.ArrayList public open fun add(index: kotlin.Int, element: kotlin.Any): kotlin.Unit defined in java.util.ArrayList
|
||||
// ERROR: Null can not be a value of a non-null type kotlin.Any
|
||||
// ERROR: Null can not be a value of a non-null type kotlin.Any
|
||||
import java.util.*
|
||||
|
||||
public class Lists {
|
||||
|
||||
Reference in New Issue
Block a user