Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to compile slot init-expression #418

Open
BarAgent opened this issue Mar 16, 2013 · 0 comments
Open

Unable to compile slot init-expression #418

BarAgent opened this issue Mar 16, 2013 · 0 comments
Labels

Comments

@BarAgent
Copy link
Member

OD fails to compile the following slot:

define class <test> (<object>)
   slot stringifier :: <function> = curry(format-to-string, "%s\n");
end class;

The error it gives is something along the lines of FAILED TO FIND &t2 in ENV-[ENV][] of {<&method>}.

It successfully compiles the near-equivalent:

define class <test> (<object>)
   slot stringifier :: <function>, init-value: curry(format-to-string, "%s\n");
end class;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant