Create From Usage: Quote declaration name if it's not a valid identifier
#EA-70291 Fixed
This commit is contained in:
+4
@@ -0,0 +1,4 @@
|
||||
// "Create extension function '\u00A0'" "true"
|
||||
fun test() {
|
||||
val t: Int = 1 <caret>`\u00A0` 2
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Create extension function '\u00A0'" "true"
|
||||
fun test() {
|
||||
val t: Int = 1 `\u00A0` 2
|
||||
}
|
||||
|
||||
fun Int.`\u00A0`(i: Int): Int {
|
||||
throw UnsupportedOperationException("not implemented") //To change body of created functions use File | Settings | File Templates.
|
||||
}
|
||||
Reference in New Issue
Block a user