Closed spytheman closed 6 days ago
Note: when the last 2 lines are commented, the program correctly prints:
default k: `` | typeof dk: string
default v: `0` | typeof dv: int
> k: abc | v: 123
> k: def | v: 456
default e: `0` | typeof de: int
> idx: 0 | e: 1
> idx: 1 | e: 2
> idx: 2 | e: 3
V doctor:
What did you do?
v -g -o vdbg cmd/v && vdbg a.v
What did you expect to see?
a compiled program
What did you see instead?