Add proper symbol qualifier to function symbols

This commit is contained in:
ryuukk 2023-11-14 14:27:10 +01:00 committed by GitHub
parent f15ca10acf
commit c6da9c2e52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -131,6 +131,7 @@ final class FirstPass : ASTVisitor
scope (exit) popSymbol();
currentSymbol.acSymbol.protection = protection.current;
currentSymbol.acSymbol.doc = makeDocumentation(dec.comment);
currentSymbol.acSymbol.qualifier = SymbolQualifier.func;
istring lastComment = this.lastComment;
this.lastComment = istring.init;