proc foo(bar: string): bool =
echo("foo" + bar)
return bar == "bar"
foo("bar")
cHJvYyBmb28oYmFyOiBzdHJpbmcpOiBib29sID0KICAgIGVjaG8oImZvbyIgKyBiYXIpCiAgICByZXR1cm4gYmFyID09ICJiYXIiCiAKZm9vKCJiYXIiKQo=
prog.nim(2, 16) Error: type mismatch: got (string, string)
but expected one of:
+(x: int16, y: int16): int16
+(x: int32, y: int32): int32
+(x: int8): int8
+(x: int): int
+(x: int32): int32
+(x: int16): int16
+(x: int64): int64
+(x: int8, y: int8): int8
+(x: set[T], y: set[T]): set[T]
+(x: float, y: float): float
+(x: int, y: int): int
+(x: int64, y: int64): int64
+(x: float): float