made package nodes being "typed", to avoid some errors
authorBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 15 Apr 2021 02:54:50 +0000 (21:54 -0500)
committerBrendan Hansen <brendan.f.hansen@gmail.com>
Thu, 15 Apr 2021 02:54:50 +0000 (21:54 -0500)
bin/onyx
include/onyxastnodes.h

index 944d40c2d01e56a375c1dbee4c5511f58b68b173..0dd339911ba2a625b100e64b76f88926a55422ab 100755 (executable)
Binary files a/bin/onyx and b/bin/onyx differ
index a3c147bb2c9b68e83fdc5c1eaa33c409b4edd507..075cd8daf7e2144d7094ab1cdb360b78205f1481 100644 (file)
@@ -793,7 +793,7 @@ struct AstOverloadedFunction {
 };
 
 struct AstPackage {
-    AstNode_base;
+    AstTyped_base;
 
     // Allocated in the ast arena
     char * package_name;