Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing raw in Literal(BigInt) #8962

Closed
fisker opened this issue Dec 1, 2022 · 2 comments
Closed

Missing raw in Literal(BigInt) #8962

fisker opened this issue Dec 1, 2022 · 2 comments

Comments

@fisker
Copy link

fisker commented Dec 1, 2022

Flow version: 0.194.0

Expected behavior

Should have .raw on Literal

Actual behavior

require('flow-parser').parse('1n').body[0].expression
{
  type: 'Literal',
  loc: {
    source: null,
    start: { line: 1, column: 0 },
    end: { line: 1, column: 2 }
  },
  range: [ 0, 2 ],
  value: null,
  bigint: '1'   //<- Missing `raw`
}
  • Link to Try-Flow or Github repo:

https://flow.org/try/#0IwOyA

@fisker
Copy link
Author

fisker commented Dec 9, 2022

This fix not included in 0.195.0?

@gkz
Copy link
Member

gkz commented Dec 9, 2022

@fisker, no, the next version - should be cut next week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants