Reviewed the spec, fixed some bugs

This commit is contained in:
2022-09-10 14:11:13 +01:00
parent d3c085c300
commit a7ca6d23d7
6 changed files with 160 additions and 65 deletions

View File

@@ -1471,7 +1471,9 @@ static Literal readTypeToLiteral(Parser* parser) {
}
break;
//TODO: function?
case TOKEN_FUNCTION:
AS_TYPE(literal).typeOf = LITERAL_FUNCTION;
break;
case TOKEN_ANY:
AS_TYPE(literal).typeOf = LITERAL_ANY;