Don't enter twice local scopes w/out particular name in FIR tower resolver
This commit is contained in:
@@ -54,15 +54,17 @@ enum class FirPosition(val allowTypeParameters: Boolean = true) {
|
||||
|
||||
enum class ProcessorAction {
|
||||
STOP,
|
||||
NEXT;
|
||||
NEXT,
|
||||
NONE;
|
||||
|
||||
operator fun not(): Boolean {
|
||||
return when (this) {
|
||||
STOP -> true
|
||||
NEXT -> false
|
||||
NONE -> false
|
||||
}
|
||||
}
|
||||
|
||||
fun stop() = this == STOP
|
||||
fun next() = this == NEXT
|
||||
fun next() = this != STOP
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user