Created
June 11, 2022 20:19
-
-
Save kubukoz/5ad2f69c8d9434a1abd6eb6dec784ca8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //> using scala "3.1.1" | |
| //> using option "-Xfatal-warnings" | |
| enum Foo { case Bar, Baz } | |
| val x: Foo = ??? | |
| val y = x match { case Foo.Bar => 42 } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment