aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2024-01-14 10:48:53 +0000
committerMichael Williamson <mike@zwobble.org>2024-01-14 10:48:53 +0000
commitc8b1f9139439ca6096e82f4b98a9baccba5807fe (patch)
treeca9435281473e7d3c9a1692f6085e7158c18cee9 /examples
parent6920b525a9a7e37f0e5436612d1fc7517b8212d0 (diff)
Support inferring type args in when cases
Diffstat (limited to 'examples')
-rw-r--r--examples/31-generic-structs-and-sums-inferred-type-args/src/HelloWorld.shed2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/31-generic-structs-and-sums-inferred-type-args/src/HelloWorld.shed b/examples/31-generic-structs-and-sums-inferred-type-args/src/HelloWorld.shed
index c1c32f21..5a58f8e4 100644
--- a/examples/31-generic-structs-and-sums-inferred-type-args/src/HelloWorld.shed
+++ b/examples/31-generic-structs-and-sums-inferred-type-args/src/HelloWorld.shed
@@ -11,7 +11,7 @@ pub fun main() ! Io -> Unit {
fun printOption(option: Option[String]) !Io -> Unit {
when (option) {
- is Some[String] {
+ is Some {
print!("Some(");
print!(option.value);
print!(")\n");