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.
1 parent e9cd74a commit 11407a1Copy full SHA for 11407a1
_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