Allow spaces in functions

This commit is contained in:
Asdine El Hrychy
2022-06-19 21:31:26 +04:00
parent dd77a74feb
commit 22196e4ecc
3 changed files with 22 additions and 15 deletions

View File

@@ -56,7 +56,7 @@ func ParseExpr(s string) (expr.Expr, error) {
func MustParseExpr(s string) expr.Expr {
e, err := ParseExpr(s)
if err != nil {
panic(err)
panic(fmt.Sprintf("%+v", err))
}
return e