Open qb-0 opened 2 years ago
import nimpy proc foo(a: int|string) {.exportpy.} = when type(a) is int: echo "Got int" elif type(a) is string: echo "Got string" foo(100) foo("Hello")
Fails currently with invalid type: 'void' for var
invalid type: 'void' for var
Fails currently with
invalid type: 'void' for var