Skip to content

Commit 62af5ba

Browse files
kim-emclaude
andcommitted
fix: move set_option linter.deprecated false inside @[expose] public section
`set_option ... in @[expose] public section` causes the section's declarations to not be exported via normal `import`. Moving the `set_option` inside the section fixes this. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 36752f7 commit 62af5ba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Batteries/Data/String/Lemmas.lean

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ import all Init.Data.String.Modify -- for unfolding `String.mapAux`
2020
import all Batteries.Data.String.Legacy -- for unfolding `String.Legacy.map`
2121
import all Init.Data.String.Legacy -- for unfolding `String.splitOnAux`
2222

23-
set_option linter.deprecated false in
2423
@[expose] public section
2524

25+
set_option linter.deprecated false
26+
2627
namespace String
2728

2829
-- TODO(kmill): add `@[ext]` attribute to `String.ext` in core.

0 commit comments

Comments
 (0)