lean4-htt/tests/lean/run/12025.lean
Sebastian Ullrich 07b2913969
fix: global visibility attributes should be allowed on non-exposed definitions (#12026)
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
2026-01-16 14:33:08 +00:00

6 lines
124 B
Text

module
/-! Global visibility attributes should be allowed on non-exposed definitions. -/
@[irreducible]
public def x := 0