Skip to content

Instantly share code, notes, and snippets.

@fredreichbier
Created July 31, 2010 00:28
Show Gist options
  • Save fredreichbier/501540 to your computer and use it in GitHub Desktop.
Save fredreichbier/501540 to your computer and use it in GitHub Desktop.
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]
lang_Numbers__Int main() {
GC_INIT();
vfdp_load();
return vfdp__Fun_getMoreFun(&(((vfdp__Fun) (1))));
}
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