Improve JetNameValidatorImpl performance

This commit is contained in:
Alexey Sedunov
2014-04-29 14:26:30 +04:00
parent 5cfb8bbf99
commit 31a1ec0f05
8 changed files with 90 additions and 30 deletions
@@ -0,0 +1,7 @@
fun foo() {
val a = 1
if (<selection>a > 0</selection>) {
val b = 0
println(b)
}
}
@@ -0,0 +1,8 @@
fun foo() {
val a = 1
val b1 = a > 0
if (b1) {
val b = 0
println(b)
}
}