Skip to content

Commit

Permalink
Update shadowing test so that it actually tests what it is supposed to
Browse files Browse the repository at this point in the history
Currently it still fails, though.
  • Loading branch information
kindlich committed Sep 6, 2024
1 parent 5635594 commit 1e881f2
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#output: Shadowed: Hello

function println(a as string) {
import testsupport.SharedGlobals;

function println(a as string) as void {
SharedGlobals.println("Shadowed: " + a);
}

println("Hello");

0 comments on commit 1e881f2

Please sign in to comment.