Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix test for code-coverage configuration
with --code-coverage, jlcall_api is disabled, altering the AST that gets stored for this function
- Loading branch information
4e698cb
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.
should the result be tested specifically dependent on the value of the flag then?
4e698cb
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.
no, this test doesn't need to be so aggressive
4e698cb
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.
wouldn't people who dig into the AST appreciate visibility into what determines when you'll get different calling convention outputs?
4e698cb
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.
Both
902221
andQuoteNode(902221)
are valid IR. Unless we want to change that, which one we produce is an implementation detail and people have to handle both.