Created
May 16, 2020 20:17
-
-
Save lu4nm3/1cf4d1dd31cddfa1edbe82b95df263d3 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
scala> new EmailAddress("@example.com") {} | |
<console>:15: error: illegal inheritance from sealed class EmailAddress | |
new EmailAddress(""){} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment