YieldTypeExtension

internal class YieldTypeExtension(val types: Map<Pair<Int, Int>, String>) : IrGenerationExtension

Writes types into each yield call's typeName argument.

A call this misses keeps the argument absent, and yield's default answers at runtime — correct, just in the runtime namespace. That is why the shortfall is logged: a join that stops matching costs nothing visible.

Constructors

Link copied to clipboard
constructor(types: Map<Pair<Int, Int>, String>)

Properties

Link copied to clipboard
private val types: Map<Pair<Int, Int>, String>

Functions

Link copied to clipboard
open override fun generate(moduleFragment: IrModuleFragment, pluginContext: IrPluginContext)
Link copied to clipboard
open fun getPlatformIntrinsicExtension(loweringContext: LoweringContext): IrIntrinsicExtension?