-
Notifications
You must be signed in to change notification settings - Fork 56
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
Parse units on numeric literals and keep them in the AST #5061
Conversation
QA Wolf here! As you write new code it's important that your test coverage is keeping up. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
613ad23
to
232e211
Compare
39d1b6a
to
24a456c
Compare
24a456c
to
98f608d
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5061 +/- ##
==========================================
+ Coverage 86.09% 86.10% +0.01%
==========================================
Files 89 89
Lines 32389 32445 +56
==========================================
+ Hits 27884 27938 +54
- Misses 4505 4507 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
98f608d
to
e5eb211
Compare
e5eb211
to
f6ecd29
Compare
Can you rebase and regenerate simulation test outputs? My artifact graph PR was merged. |
Signed-off-by: Nick Cameron <[email protected]>
Signed-off-by: Nick Cameron <[email protected]>
Signed-off-by: Nick Cameron <[email protected]>
f6ecd29
to
5cdd58e
Compare
Done (and passing tests) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Co-authored-by: Jonathan Tran <[email protected]>
* Code changes Signed-off-by: Nick Cameron <[email protected]> * test changes Signed-off-by: Nick Cameron <[email protected]> * Frontend changes Signed-off-by: Nick Cameron <[email protected]> * Refactor asNum Co-authored-by: Jonathan Tran <[email protected]> --------- Signed-off-by: Nick Cameron <[email protected]> Co-authored-by: Jonathan Tran <[email protected]>
We previously tokenise unit suffixes on numeric literals, this PR threads them through parsing and into the AST which then causes a huge amount of breakage in the frontend :-(