Created
December 6, 2019 18:14
-
-
Save iitalics/6ca45b39b8d3c422588573ea3b56c3fa to your computer and use it in GitHub Desktop.
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 Sad { | |
case class TArray(required: Boolean = false) | |
case class A(t: TArray, n: Int) | |
class B { | |
def a: A = a.copy(t = TArray()) | |
def t: TArray = a.t | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment