unit-gen icon indicating copy to clipboard operation
unit-gen copied to clipboard

Refactor: TypedIns to template

Open phodal opened this issue 1 year ago • 0 comments

In current design, we use toInstruction to convert different TypedIns to Instruction, it's not working for IDE tools out AutoDev

interface TypedIns {
    val type: InstructionBuilderType

    /**
     * Build final instruction.
     */
    fun toInstruction(): Instruction
}

phodal avatar Jan 07 '24 09:01 phodal