1 2 3 4 5 6 7 8 9 10 11
import tango.io.Stdout; void main() { int x = 7; { Stdout.formatln ("{}", x); int x = 9; Stdout.formatln ("{}", x); } }
1
Line 8: Error: shadowing declaration t.main.x is deprecated