Created
March 5, 2017 06:49
-
-
Save tikidunpon/621fb5621610ad9012b3db5fd43f7446 to your computer and use it in GitHub Desktop.
これが落ちるってことでいいのかな、segmentation faultにはなるけど #CodePiece #swift,#ムックムックラジオ
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 A { | |
func hoge() -> String? { | |
return "a" | |
} | |
} | |
class B : A { | |
override func hoge() -> String { | |
return "b" | |
} | |
} | |
let b = B() | |
print(b.hoge()) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment