Skip to content

Commit 06cb00d

Browse files
committed
Fix a[b](c) ADSAFEing.
1 parent 00b4c26 commit 06cb00d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/pimscript.coffee

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,8 @@ walk = (ast) ->
129129
funcName = ast[1]
130130
if ast[1][0] is 'dot'
131131
ast[1][1] = walk ast[1][1]
132+
else if ast[1][0] is 'sub'
133+
ast[1][1] = walk ast[1][1]
132134
else
133135
ast[1] = walk ast[1]
134136
params = ast[2]

0 commit comments

Comments
 (0)