diff options
| author | Nikita Vasilevsky <nikita.vasilevsky@shopify.com> | 2024-02-01 18:04:29 +0000 |
|---|---|---|
| committer | Kevin Newton <kddnewton@gmail.com> | 2024-02-01 15:23:39 -0500 |
| commit | c7fe3ecb49784fcc6a9780f89880d758cd272449 (patch) | |
| tree | 035cce74f01cb77294411ac2264351c28bcf8c52 /test/ruby | |
| parent | e4e5a1b4ee3f04a69c62c1cc067f65245b469321 (diff) | |
[prism] Use block opening line as `source_location` line of lambda
There are several prism tests failing related to the `source_location`
for lambda returning line of the operator (`->`)
while original parser execution results in `source_location` line
pointing to the block opening location (`{` or `do`)
This commit changes `PM_LAMBDA_NODE` compilation case
to use block opening location instead of the whole node (operator)
opening location to get the line number to build block iseq
Diffstat (limited to 'test/ruby')
0 files changed, 0 insertions, 0 deletions
