Fixed error message to quote parameter name

This commit is contained in:
Valentin Kipyatkov
2017-05-19 08:42:12 +03:00
parent 4cbdbaa057
commit 1fe6886a33
46 changed files with 59 additions and 59 deletions
@@ -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,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