-
-
Notifications
You must be signed in to change notification settings - Fork 8
feat(r8-tests): Add R8 source file tests #74
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
base: rz/feat/r8-tests-synthetic
Are you sure you want to change the base?
Conversation
|
|
||
| This note documents, **one-by-one**, what still needs fixing in the crate (not in the fixtures) to make the remaining tests pass. | ||
|
|
||
| ## 1) `test_colon_in_file_name_stacktrace` |
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.
needs fixing
| - In `parse_frame`, split `file:line` using the **last** colon (`rsplit_once(':')`) so file names can contain `:` (Windows paths and this fixture). | ||
| - Treat an empty or non-numeric suffix after the last colon as “no line info” (line `0`) instead of rejecting the frame. | ||
|
|
||
| ## 2) `test_file_name_extension_stacktrace` |
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.
skip this
| - remap it, | ||
| - emit with the same prefix. | ||
|
|
||
| ## 3) `test_class_with_dash_stacktrace` |
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.
skip this
Part of #40
Unsure if we actually have to handle such weird inputs, but I guess we better be on the safe side and parse those correctly.
R8 Retrace Test Coverage