JVM IR: minor, add exception message to IrFrameMap.typeOf
This commit is contained in:
+2
-1
@@ -51,7 +51,8 @@ class IrFrameMap : FrameMapBase<IrSymbol>() {
|
|||||||
return super.leave(descriptor)
|
return super.leave(descriptor)
|
||||||
}
|
}
|
||||||
|
|
||||||
fun typeOf(descriptor: IrSymbol): Type = typeMap.getValue(descriptor)
|
fun typeOf(symbol: IrSymbol): Type =
|
||||||
|
typeMap[symbol] ?: error("No mapping for symbol: ${symbol.owner.render()}")
|
||||||
}
|
}
|
||||||
|
|
||||||
internal val IrFunction.isStatic
|
internal val IrFunction.isStatic
|
||||||
|
|||||||
Reference in New Issue
Block a user