This PR fixes an issue where attributes like `@[irreducible]` would not be allowed under the module system unless combined with `@[exposed]`, but the former may be helpful without the latter to ensure downstream non-`module`s are also affected. Fixes #12025
6 lines
124 B
Text
6 lines
124 B
Text
module
|
|
|
|
/-! Global visibility attributes should be allowed on non-exposed definitions. -/
|
|
|
|
@[irreducible]
|
|
public def x := 0
|