Skip to content

Commit c7083c9

Browse files
Clarify docstring and add comment based on GitHub thread
1 parent 09f23da commit c7083c9

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/Lean/BuiltinDocAttr.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def declareBuiltinDocStringAndRanges (declName : Name) : AttrM Unit := do
1919
Makes the documentation and location of a declaration available as a builtin.
2020
2121
This allows the documentation of core Lean features to be visible without importing the file they
22-
are defined in. This is only possible because of bootstrapping and should not be used outside of
22+
are defined in. This is only useful during bootstrapping and should not be used outside of
2323
the Lean source code.
2424
-/
2525
@[builtin_init, builtin_doc]

src/Lean/PrettyPrinter/Formatter.lean

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,10 @@ unsafe builtin_initialize combinatorFormatterAttribute : ParserCompiler.Combinat
100100
"Register a formatter for a parser combinator"
101101
`Lean.PrettyPrinter.mkCombinatorFormatterAttribute -- TODO (bootstrapping): remove if possible
102102

103+
-- More details on TODO: Removing this would lead to an environment extension with a name that
104+
-- doesn't match what's saved in the oleans, so tests don't pass. Removing it will require a
105+
-- non-CI stage0 update, or careful work to keep the test working across updates.
106+
103107
namespace Formatter
104108

105109
open Lean.Core

0 commit comments

Comments
 (0)