Skip to content

Commit

Permalink
don't include functions in error
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Nov 19, 2020
1 parent 3b26e47 commit fa235a9
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions runtime/runtime.go
Original file line number Diff line number Diff line change
Expand Up @@ -522,14 +522,13 @@ func (r *interpreterRuntime) parseAndCheckProgram(

wrapError := func(err error) error {
return &ParsingCheckingError{
Err: err,
Code: code,
Location: location,
Functions: functions,
Options: options,
UseCache: useCache,
Checker: checker,
Program: program,
Err: err,
Code: code,
Location: location,
Options: options,
UseCache: useCache,
Checker: checker,
Program: program,
}
}

Expand Down

0 comments on commit fa235a9

Please sign in to comment.