Skip to content

Commit

Permalink
PLAT-821 fix for NPE during parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
cyraxred committed Sep 29, 2020
1 parent 4a9d3ad commit 68a4632
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,9 @@ func (p *ExecTrace) exprToValue(expr ast.Expr) *StateUpdate {
return nil
case *ast.CallExpr:
call := p.exprToValue(arg.Fun)
call.isCall = true
// TODO check for context in args
if call != nil {
call.isCall = true
call.args = arg.Args
}
return call
Expand Down

0 comments on commit 68a4632

Please sign in to comment.