aboutsummaryrefslogtreecommitdiff
path: root/examples/10-while
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2023-10-22 13:27:31 +0100
committerMichael Williamson <mike@zwobble.org>2023-10-22 13:27:31 +0100
commit296fa6ee9ee63089603c8bb13bb7d3346f85a037 (patch)
tree0754151b4533fd9c9c315ef361879fdc12160cdd /examples/10-while
parent5831a308f4d8f9e83821fffff67a2141cc76d26b (diff)
Add explicit visibility
Diffstat (limited to 'examples/10-while')
-rw-r--r--examples/10-while/src/Counting.shed2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/10-while/src/Counting.shed b/examples/10-while/src/Counting.shed
index 81d637a2..aa95f536 100644
--- a/examples/10-while/src/Counting.shed
+++ b/examples/10-while/src/Counting.shed
@@ -8,7 +8,7 @@ fun message(count: Int) -> String {
}
}
-fun main() ! Io -> Unit {
+pub fun main() ! Io -> Unit {
var count = 1;
while (count != 4) {