Created
May 26, 2020 15:13
-
-
Save bbjubjub2494/75bbb25c96e7a1181573f748161e04f4 to your computer and use it in GitHub Desktop.
showcase dotty crash
This file contains 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
val dottyVersion = "0.24.0-RC1" | |
scalaVersion := dottyVersion | |
scalacOptions ++= Seq( | |
"-deprecation", | |
"-feature", | |
"-Xfatal-warnings", | |
"-encoding", "utf8", | |
"-Yexplicit-nulls", | |
) |
This file contains 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
object impl: | |
case object UNone | |
import impl._ | |
opaque type UOption[+A] = A | UNone.type |
This file contains 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
val UNone: UOption[Nothing] = ??? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment