Skip to content

Commit 928f949

Browse files
committed
Fixes #3160 -- a missing bit of locationData
1 parent 8bb833d commit 928f949

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

lib/coffee-script/nodes.js

+1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/nodes.coffee

+1
Original file line numberDiff line numberDiff line change
@@ -1381,6 +1381,7 @@ exports.Param = class Param extends Base
13811381
node = new Literal o.scope.freeVariable 'arg'
13821382
node = new Value node
13831383
node = new Splat node if @splat
1384+
node.updateLocationDataIfMissing @locationData
13841385
@reference = node
13851386

13861387
isComplex: ->

0 commit comments

Comments
 (0)