FIR2IR: don't generate unnecessary 'return throw'
#KT-60245 Fixed
This commit is contained in:
committed by
Space Team
parent
90904e4f8a
commit
7d5e2f85cc
@@ -62,7 +62,7 @@ internal object EmptyArrayMap : ArrayMap<Nothing> {
|
||||
}
|
||||
|
||||
override operator fun next(): Nothing {
|
||||
return throw NoSuchElementException()
|
||||
throw NoSuchElementException()
|
||||
}
|
||||
|
||||
}
|
||||
@@ -328,4 +328,3 @@ internal class ArrayMapImpl<T : Any> : ArrayMap<T> {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user