Closed gabotechs closed 1 year ago
implemented in #32, but it is a bit more complex than in the example above: this is a working example:
"I am ${{ block.name }}, and my arguments are ${{ variables.T }} and ${{ variables.U }}"
type Generic<T U> {
"I am ${{ variables.T }}"
t: T
"I am ${{ variables.U }}"
u: U
}
type Concrete = Generic<String, Int>
will compile to
"I am Concrete, and my arguments are String and Int"
type Concrete {
"I am String"
t: String
"I am Int"
u: Int
}
For generics there could be something like
For inheritance something like