We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c2a735 commit 0177f20Copy full SHA for 0177f20
tests/programs/900_bugs/bug0004_shadowing_bug.ndct
@@ -0,0 +1,9 @@
1
+--PROGRAM--
2
+fn foo(bar) {
3
+ let bar = bar + 1; // this used to produce an error in an older version
4
+}
5
+
6
+foo(5);
7
+print("ok");
8
+--EXPECT--
9
+ok
0 commit comments