feat: help for misspelled pipes is now shown to the user.

This commit is contained in:
Spencer Brower
2026-07-31 09:14:34 -04:00
parent 0d09db8d26
commit 9e93c012b6
4 changed files with 31 additions and 1 deletions
+2
View File
@@ -32,6 +32,7 @@ Error_Body :: struct {
source: string,
path: string,
span: int,
hint: string,
}
// Error is nil when no error occurred.
@@ -59,6 +60,7 @@ tag_error :: proc(err: Error, tmpl: Template) -> Error {
msg = b.msg,
pos = b.pos,
span = b.span,
hint = b.hint,
kind = b.kind,
source = tmpl.source,
path = tmpl.path,