small bugfixes; reactivated tests/compile
This commit is contained in:
parent
64c638a9dc
commit
d48d3d0bd1
5 changed files with 13 additions and 8 deletions
|
|
@ -243,7 +243,7 @@ all the arguments, but also the matched operators in reverse polish notation:
|
|||
dummy: int
|
||||
|
||||
proc `*`(a, b: TMatrix): TMatrix = nil
|
||||
proc `+`(a, b: TMat): TMatrix = nil
|
||||
proc `+`(a, b: TMatrix): TMatrix = nil
|
||||
proc `-`(a, b: TMatrix): TMatrix = nil
|
||||
proc `$`(a: TMatrix): string = result = $a.dummy
|
||||
proc mat21(): TMatrix =
|
||||
|
|
@ -257,7 +257,7 @@ all the arguments, but also the matched operators in reverse polish notation:
|
|||
|
||||
echo x + y * z - x
|
||||
|
||||
This transforms passes expression ``x + y * z - x`` to the ``optM`` macro as
|
||||
This passes the expression ``x + y * z - x`` to the ``optM`` macro as
|
||||
an ``nnkArgList`` node containing::
|
||||
|
||||
Arglist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue