Skip to content

Commit

Permalink
null element will not cause error (gkz/grasp#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
adros committed Sep 2, 2019
1 parent dc24c0c commit 4c8d13f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/common.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions src/common.ls
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
@types = types

!function visit-pre ast, fn, path
if not ast
return

fn ast, path

if not syntax-flat[ast.type]?
Expand Down

0 comments on commit 4c8d13f

Please sign in to comment.