version 0.7.2

This commit is contained in:
Andreas Rumpf 2008-12-12 14:02:27 +01:00
commit ddaedab835
158 changed files with 34811 additions and 10001 deletions

18
tests/tambsym2.nim Normal file
View file

@ -0,0 +1,18 @@
# Test overloading of procs with locals
type
TMyType = object
len: int
data: string
proc len(x: TMyType): int {.inline.} = return x.len
proc x(s: TMyType, len: int) =
writeln(stdout, len(s))
var
m: TMyType
m.len = 7
m.data = "1234"
x(m, 5) #OUT 7