BUGFIX: superclass name not lispy
The superclass names were not lispified correctly and so the class was inheriting from erroneous class symbols. Closes #96.
This commit is contained in:
parent
049d50fe91
commit
aad30cf4de
1 changed files with 1 additions and 1 deletions
|
|
@ -676,7 +676,7 @@ void CFFI::emit_class(Node *n) {
|
|||
if (!first)
|
||||
Printf(supers, " ");
|
||||
String *s = Getattr(i.item, "name");
|
||||
Printf(supers, "%s", lispify_name(i.item, s, "'classname"));
|
||||
Printf(supers, "%s", lispify_name(i.item, lispy_name(Char(s)), "'classname"));
|
||||
}
|
||||
} else {
|
||||
// Printf(supers,"ff:foreign-pointer");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue