Removed useless as casts from compiler code
It allows compiling code with K2 and enabled `-Werror`
This commit is contained in:
committed by
Space Team
parent
d50c6f1b6d
commit
1827df82c4
+1
-3
@@ -120,9 +120,7 @@ class FlattenStringConcatenationLowering(val context: CommonBackendContext) : Fi
|
||||
if (superQualifierSymbol != null)
|
||||
return false
|
||||
|
||||
val function = symbol.owner as? IrSimpleFunction
|
||||
?: return false
|
||||
|
||||
val function = symbol.owner
|
||||
return function.isToString || function.isNullableToString
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user