when readerexps are null, stringify as <NULL DEF\!>

This commit is contained in:
2024-07-07 14:59:20 -06:00
parent fca8c06e71
commit 649aa9ceaf

View File

@@ -582,6 +582,8 @@ class Reader {
public static function toString(exp:ReaderExpDef) {
return switch (exp) {
case null:
'<NULL DEF!>';
case CallExp(func, args):
// (f a1 a2...)
var str = '(' + func.def.toString();