Created
January 1, 2017 19:28
-
-
Save maiha/3329c026396183776b5ff4c3a799edac 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
module Core | |
end | |
class Base(T) | |
include Core | |
end | |
class Foo < Base(String) | |
end | |
class Bar < Base(Int32) | |
end | |
Foo.new.as(Core).class.name | |
# Invalid memory access (signal 11) at address 0x0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment