mirror of
https://github.com/sbrow/thor.git
synced 2026-08-26 11:23:32 -04:00
feat: help for misspelled pipes is now shown to the user.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user