Fixed error message to quote parameter name
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
// IS_APPLICABLE: false
|
||||
// ERROR: No value passed for parameter b
|
||||
// ERROR: No value passed for parameter 'b'
|
||||
// ERROR: 'operator' modifier is inapplicable on this function: must have a single value parameter
|
||||
fun test() {
|
||||
class Test{
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
// IS_APPLICABLE: false
|
||||
// ERROR: An argument is already passed for this parameter
|
||||
// ERROR: No value passed for parameter b
|
||||
// ERROR: No value passed for parameter 'b'
|
||||
fun test() {
|
||||
class Test{
|
||||
operator fun get(a: Int, b: Int) : Int = 0
|
||||
|
||||
Reference in New Issue
Block a user