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.
13 lines
463 B
TOML
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"]
|