Skip to content

Commit

Permalink
TypeChecker
Browse files Browse the repository at this point in the history
- Fixed message which prints out when an unused variable is detected
  • Loading branch information
deavmi committed Nov 5, 2023
1 parent 4aaaaf0 commit 48fe528
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/tlang/compiler/typecheck/core.d
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public final class TypeChecker
foreach(Variable unusedVariable; unusedVariables)
{
// TODO: Get a nicer name, full path-based
gprintln("Variable '"~to!(string)(unusedVariable.getName())~"' is declared but never");
gprintln("Variable '"~to!(string)(unusedVariable.getName())~"' is declared but never used");
}
}
}
Expand Down

0 comments on commit 48fe528

Please sign in to comment.