use defNew instead of defnew

This commit is contained in:
2021-07-24 15:08:08 -06:00
parent df61721a49
commit 5d991ea295
18 changed files with 18 additions and 18 deletions

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);