Skip to content

Stack too deep error with forge coverage , even with --via-ir , optimizer and --ir-minimum flag #8766

Closed Answered by zerosnacks
shisukeUrahara asked this question in Help
Discussion options

You must be logged in to vote

Forge coverage currently is required to disable optimizations in order to accurately track coverage as any optimizations make it so that the AST does not accurately map to the source code anymore. We are adding a warning to forge coverage to make users aware of this limitation: #8840

In the future we may consider an entire rewrite of forge coverage that would eliminate the need but this is obviously a huge task only viable post-1.0

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zerosnacks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
3 participants