[FIR] Optimize performance and fix UNDERSCORE_IS_RESERVED, simplify code
This commit is contained in:
+13
-3
@@ -2,9 +2,9 @@
|
||||
|
||||
import kotlin.Deprecated as <!UNDERSCORE_IS_RESERVED!>___<!>
|
||||
|
||||
@___("") data class Pair(val x: Int, val y: Int)
|
||||
@<!UNDERSCORE_USAGE_WITHOUT_BACKTICKS!>___<!>("") data class Pair(val x: Int, val y: Int)
|
||||
|
||||
class <!UNDERSCORE_IS_RESERVED, UNDERSCORE_IS_RESERVED!>_<!><<!UNDERSCORE_IS_RESERVED!>________<!>>
|
||||
class <!UNDERSCORE_IS_RESERVED!>_<!><<!UNDERSCORE_IS_RESERVED!>________<!>>
|
||||
val <!UNDERSCORE_IS_RESERVED!>______<!> = <!UNDERSCORE_USAGE_WITHOUT_BACKTICKS!>_<!><Int>()
|
||||
|
||||
fun <!UNDERSCORE_IS_RESERVED!>__<!>(<!UNDERSCORE_IS_RESERVED!>___<!>: Int, y: <!UNDERSCORE_USAGE_WITHOUT_BACKTICKS!>_<!><Int>?): Int {
|
||||
@@ -25,7 +25,7 @@ fun <!UNDERSCORE_IS_RESERVED!>__<!>(<!UNDERSCORE_IS_RESERVED!>___<!>: Int, y: <!
|
||||
}
|
||||
|
||||
|
||||
class A1(val <!UNDERSCORE_IS_RESERVED, UNDERSCORE_IS_RESERVED!>_<!>: String)
|
||||
class A1(val <!UNDERSCORE_IS_RESERVED!>_<!>: String)
|
||||
class A2(<!UNDERSCORE_IS_RESERVED!>_<!>: String) {
|
||||
class B {
|
||||
typealias <!UNDERSCORE_IS_RESERVED!>_<!> = CharSequence
|
||||
@@ -48,3 +48,13 @@ val something2 = doIt { _ -> 1 }
|
||||
var p: Int?
|
||||
get() = null
|
||||
set(_) {}
|
||||
|
||||
object `____` {
|
||||
object Nested {
|
||||
fun method() {}
|
||||
}
|
||||
}
|
||||
|
||||
fun test() {
|
||||
<!UNDERSCORE_USAGE_WITHOUT_BACKTICKS!>____<!>.Nested.method()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user