-
-
Save fredreichbier/501540 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
rock_tmp/./vfdp.c: In function 'main': | |
rock_tmp/./vfdp.c:58:5: error: lvalue required as unary '&' operand | |
C compiler failed, aborting compilation process | |
[FAIL] |
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
lang_Numbers__Int main() { | |
GC_INIT(); | |
vfdp_load(); | |
return vfdp__Fun_getMoreFun(&(((vfdp__Fun) (1)))); | |
} |
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
Fun: cover from Int { | |
getMoreFun: func@ -> Int { | |
this + 2 | |
} | |
} | |
main: func { | |
1 as Fun getMoreFun() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment