Skip to content

Mark definitions in a noncomputable section that fail to compile with noncomputable attribute #9021

@zwarich

Description

@zwarich

Currently, definitions in a noncomputable section that fail to compile do not get marked with noncomputable. The current check for noncomputable in the toMono pass checks for the attribute, but there is a second check in the IR phase for definitions without any IR. This still catches most issues, but it is possible for the use of a noncomputable definition to be erroneously optimized away between these two checks.

Metadata

Metadata

Assignees

Labels

P-mediumWe may work on this issue if we find the timebugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions