Skip to content

Conversation

nicolasstucki
Copy link
Contributor

These methods will not generate code and therefore do not need to be
instrumented. Note that a retained inline method will have a $retained
variant that will be instrumented.

Found this issue while looking into #15490.

These methods will not generate code and therefore do not need to be
instrumented. Note that a retained inline method will have a `$retained`
variant that will be instrumented.

Found this issue while looking into scala#15490.
@nicolasstucki nicolasstucki marked this pull request as ready for review June 22, 2022 15:54
@main
def Test: Unit =
val a = A()
// FIXME: coverage should not track erased arguments and statements
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be fixed by #15530

Copy link
Contributor

@TheElectronWill TheElectronWill left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!
There's some overlap with my PR (for the erased tests), I'll fix it if this PR gets merged first.

@nicolasstucki nicolasstucki merged commit 771a336 into scala:main Jun 30, 2022
@nicolasstucki nicolasstucki deleted the coverage-inline-defs branch June 30, 2022 14:44
@Kordyjan Kordyjan added this to the 3.2.0 backports milestone Jul 4, 2022
@Kordyjan Kordyjan modified the milestones: 3.2.0 backports, 3.2.1 Aug 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants