hint only

This commit is contained in:
Ben Burdette 2020-05-12 13:54:18 -06:00
parent 72ecccee57
commit 960d4362ed

View file

@ -149,5 +149,13 @@ int main()
.errPos = Pos(problem_file, 40, 13)
}});
// Error with only hint and name..
logError(
ErrorInfo { .name = "error name",
.hint = hintfmt("hint %1%", "only"),
.nixCode = NixCode {
.errPos = Pos(problem_file, 40, 13)
}});
return 0;
}