Skip to content

Commit

Permalink
XX
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew Ballance <matt.ballance@gmail.com>
  • Loading branch information
mballance committed Nov 24, 2023
1 parent c73f6ff commit 30fdcc7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/TaskResolveRefs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,11 @@ void TaskResolveRefs::visitFunctionPrototype(ast::IFunctionPrototype *i) {
for (std::vector<ast::IFunctionParamDeclUP>::const_iterator
it=i->getParameters().begin();
it!=i->getParameters().end(); it++) {
(*it)->getType()->accept(m_this);
if ((*it)->getType()) {
(*it)->getType()->accept(m_this);
} else {
// TODO: likely a category type
}
}
DEBUG_LEAVE("visitFunctionPrototype");
}
Expand Down
2 changes: 2 additions & 0 deletions src/stdlib/std_pkg.pss
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@

package std_pkg {

function void print(string fmt/*, type ... args*/);

}

0 comments on commit 30fdcc7

Please sign in to comment.