8000
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.
2 parents 2cd2310 + 11407a1 commit 3ece4ffCopy full SHA for 3ece4ff
_overviews/scala3-book/types-union.md
@@ -35,7 +35,7 @@ help("hi") // error: Found: ("hi" : String)
35
You’ll also get an error if you attempt to add a `case` to the `match` expression that doesn’t match the `Username` or `Password` types:
36
37
```scala
38
-case 1.0 = > ??? // ERROR: this line won’t compile
+case 1.0 => ??? // ERROR: this line won’t compile
39
```
40
41
### Alternative to Union Types
0 commit comments