Skip to content

Commit

Permalink
fix misspell on eval.go:825
Browse files Browse the repository at this point in the history
  • Loading branch information
hiveminded authored Jun 26, 2017
1 parent 72acac2 commit f4f14c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -822,7 +822,7 @@ func (v *evalVisitor) VisitBlock(node *ast.BlockStatement) interface{} {
expr := node.Expression.Accept(v)

if v.isHelperCall(node.Expression) || v.wasFuncCall(node.Expression) {
// it is the responsability of the helper/function to evaluate block
// it is the responsibility of the helper/function to evaluate block
result = expr
} else {
val := reflect.ValueOf(expr)
Expand Down

0 comments on commit f4f14c5

Please sign in to comment.