lots of small changes
This commit is contained in:
parent
c0c35839cc
commit
a5ecbf823f
85 changed files with 180 additions and 110 deletions
|
|
@ -1,9 +1,11 @@
|
|||
discard """
|
||||
output: '''
|
||||
tdistinct
|
||||
25
|
||||
'''
|
||||
"""
|
||||
|
||||
echo "tdistinct"
|
||||
|
||||
block tborrowdot:
|
||||
type
|
||||
|
|
@ -18,8 +20,6 @@ block tborrowdot:
|
|||
bb.a = 90
|
||||
bb.s = "abc"
|
||||
|
||||
|
||||
|
||||
block tcurrncy:
|
||||
template Additive(typ: untyped) =
|
||||
proc `+`(x, y: typ): typ {.borrow.}
|
||||
|
|
@ -53,8 +53,6 @@ block tcurrncy:
|
|||
DefineCurrency(TEuro, int)
|
||||
echo($( 12.TDollar + 13.TDollar )) #OUT 25
|
||||
|
||||
|
||||
|
||||
block tconsts:
|
||||
# bug #2641
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue