use defNew instead of defnew

This commit is contained in:
2021-07-24 15:08:08 -06:00
parent aa12c42611
commit 7fa4c3f74a

View File

@@ -689,7 +689,7 @@ class Macros {
propertySetExps.push(
b.call(b.symbol("set"), [b.field(name, b.symbol("this")), b.symbol(name)]));
default:
throw CompileError.fromExp(arg, "invalid use of &prop in defnew");
throw CompileError.fromExp(arg, "invalid use of &prop in defNew");
}
default:
argList.push(arg);