lots of small changes

This commit is contained in:
Arne Döring 2018-12-05 19:03:01 +01:00 • committed by Araq
commit a5ecbf823f
85 changed files with 180 additions and 110 deletions

View file

@ -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