Moves generic type identifiers to be the first children of a function in the id-tree

traversal
venko 2021-05-23 17:04:50 -07:00
parent d48995716e
commit 79d4715799
1 changed files with 1 additions and 1 deletions

View File

@ -150,9 +150,9 @@ IdNode *MakeIdTree(Node *astNode, IdNode *parent)
mainNode = MakeIdNode(Function, funcName, parent);
mainNode->typeTag = MakeTypeTag(astNode);
idNode->typeTag = mainNode->typeTag;
MakeIdTree(sigNode->functionSignature.genericArguments, mainNode);
MakeIdTree(sigNode->functionSignature.arguments, mainNode);
MakeIdTree(astNode->functionDeclaration.functionBody, mainNode);
MakeIdTree(sigNode->functionSignature.genericArguments, mainNode);
break;
}