1 2 3 4 5 6
discard """ nimout: "Special variable 'result' is shadowed. [ResultShadowed]" """ proc test(): string = var result = "foo"