Fix bug in ScopeUtils.
This commit is contained in:
@@ -138,7 +138,6 @@ private inline fun <T: Any> LexicalScope.collectFromMeAndParent(
|
|||||||
if (element != null) {
|
if (element != null) {
|
||||||
if (result == null) {
|
if (result == null) {
|
||||||
result = SmartList()
|
result = SmartList()
|
||||||
return emptyList()
|
|
||||||
}
|
}
|
||||||
result!!.add(element)
|
result!!.add(element)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user