summaryrefslogtreecommitdiffstats
path: root/source/slang/check.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/check.cpp')
-rw-r--r--source/slang/check.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/slang/check.cpp b/source/slang/check.cpp
index bc3823292..79a4f28cf 100644
--- a/source/slang/check.cpp
+++ b/source/slang/check.cpp
@@ -1972,8 +1972,9 @@ namespace Slang
return;
VisitFunctionDeclaration(functionNode);
- // TODO: This should really onlye set "checked header"
+ // TODO: This should really only set "checked header"
functionNode->SetCheckState(DeclCheckState::Checked);
+
// TODO: should put the checking of the body onto a "work list"
// to avoid recursion here.
if (functionNode->Body)