made some tests green
This commit is contained in:
parent
8ae49eddc8
commit
7b36d3d6ff
6 changed files with 8 additions and 6 deletions
|
|
@ -10,7 +10,7 @@ template Additive(typ: typeDesc): stmt =
|
|||
proc `+` *(x: typ): typ {.borrow.}
|
||||
proc `-` *(x: typ): typ {.borrow.}
|
||||
|
||||
template Multiplicative(typ, base: typeDesc): stmt =
|
||||
template Multiplicative(typ, base: typeDesc): stmt {.immediate.} =
|
||||
proc `*` *(x: typ, y: base): typ {.borrow.}
|
||||
proc `*` *(x: base, y: typ): typ {.borrow.}
|
||||
proc `div` *(x: typ, y: base): typ {.borrow.}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue