Skip to content

Commit

Permalink
RakuAST: fix filename missing from compilation errors
Browse files Browse the repository at this point in the history
X::Comp has a "filename" attribute, not "file".
  • Loading branch information
niner committed Apr 21, 2024
1 parent 54ff30e commit f3b9b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Raku/Grammar.nqp
Original file line number Diff line number Diff line change
Expand Up @@ -594,7 +594,7 @@ role Raku::Common {
pos => $cursor.pos,
pre => @prepost[0],
post => @prepost[1],
file => $file,
filename => $file,
|%opts
}

Expand Down

0 comments on commit f3b9b8e

Please sign in to comment.