fix tests for quoted names
This commit is contained in:
+2
-2
@@ -1,4 +1,4 @@
|
||||
// "Create parameter '\u00A0'" "true"
|
||||
// "Create parameter '!u00A0'" "true"
|
||||
fun test() {
|
||||
val t: Int = <caret>`\u00A0`
|
||||
val t: Int = <caret>`!u00A0`
|
||||
}
|
||||
+3
-3
@@ -1,4 +1,4 @@
|
||||
// "Create parameter '\u00A0'" "true"
|
||||
fun test(`\u00A0`: Int) {
|
||||
val t: Int = `\u00A0`
|
||||
// "Create parameter '!u00A0'" "true"
|
||||
fun test(`!u00A0`: Int) {
|
||||
val t: Int = `!u00A0`
|
||||
}
|
||||
+2
-2
@@ -1,5 +1,5 @@
|
||||
// "Create property '\u00A0'" "true"
|
||||
// "Create property '!u00A0'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
fun test() {
|
||||
val t: Int = <caret>`\u00A0`
|
||||
val t: Int = <caret>`!u00A0`
|
||||
}
|
||||
+3
-3
@@ -1,7 +1,7 @@
|
||||
val `\u00A0`: Int
|
||||
val `!u00A0`: Int
|
||||
|
||||
// "Create property '\u00A0'" "true"
|
||||
// "Create property '!u00A0'" "true"
|
||||
// ERROR: Property must be initialized
|
||||
fun test() {
|
||||
val t: Int = `\u00A0`
|
||||
val t: Int = `!u00A0`
|
||||
}
|
||||
Reference in New Issue
Block a user