Created
November 7, 2013 15:12
-
-
Save acolley/7356220 to your computer and use it in GitHub Desktop.
Compiler issues "SIGSEGV: Illegal storage access. (Attempt to read from nil?)" when compiling this code.
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
type | |
TThing = ref object | |
method something(t: TThing): string: | |
result = "thingy" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment