lean4-htt/tests/pkg/structure_docstrings/lakefile.toml
Kim Morrison c7652413db
feat: link docstrings for diamond inheritance (#11122)
This PR fixes a problem for structures with diamond inheritance: rather
than copying doc-strings (which are not available unless `.server.olean`
is loaded), we link to them. Adds tests.
2025-11-10 01:05:01 +00:00

13 lines
463 B
TOML

name = "structure_docstrings"
defaultTargets = ["StructureDocstrings", "StructureDocstringsTest"]
[[lean_lib]]
name = "StructureDocstrings"
leanOptions = { experimental.module = true }
roots = ["StructureDocstrings.A", "StructureDocstrings.B"]
[[lean_lib]]
name = "StructureDocstringsTest"
# Elab.inServer to allow docstring tests to access .server level data
leanOptions = { experimental.module = true, Elab.inServer = true }
roots = ["StructureDocstrings.C"]