Created
June 28, 2016 06:22
-
-
Save rblaze/dfcc2adc5b6d9680d58738e1c7f985ad 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
class Foo(a: Int) { | |
def bar(other: Foo) { | |
other match { | |
case f : Foo => println(f.a) | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment