You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fixes `processDefDeriving` to propagate the `meta` attribute to instances derived via delta deriving, so that `deriving BEq` inside a `publicmetasection` produces a meta instance. Previously the derived `instBEqFoo` was not marked meta, and the LCNF visibility checker rejected meta definitions that used `==` on the alias — this came up while bumping verso to v4.30.0-rc1.
adds an optional `markMeta : Bool := false` parameter to `addAndCompile`, so that callers can propagate the `meta` marking without manually splitting into `addDecl` + `markMeta` + `compileDecl`.
makes the delta-deriving handler create `theorem` declarations instead of `def` declarations when the instancetypeisa `Prop`.Previously, `derivinginstanceNonemptyforFoo`wouldalwayscreatea `def`,whichisinconsistentwith the behavior of a handwritten `instance` declaration.
extends the `missingDocs` linter to detect and warn about empty doc strings (e.g. `/---/` or `/-- -/`), in addition to missing doc strings. Previously, an empty doc comment would silence the linter even though it provides no documentation value. Now empty doc strings produce a distinct "empty doc string for ..." warning, while `@[inherit_doc]` still suppresses warnings as before.
183
187
@@ -783,6 +787,9 @@ This release brings a comprehensive overhaul of Lake's caching infrastructure:
adds `Runtime.hold`, which ensures its argument remains alive until the callsite by holding a reference to it. This can be useful forunsafe code (such as an FFI) that relies on a Lean object not being freed until after some point in the program.
moves the compiled Lake configurations (e.g., `lakefile.olean`) from the package's `.lake/config` directory to the workspace's `.lake/config`. This removes a potential source contention between workspaces sharing a dependency.
fixes a Lake issue where the IR for a `metaimport`'s transitive imports was not included in the import artifacts Lake provided to Lean (e.g., via `--setup`). When using the Lake artifact cache, this could produce "missing data file" errors due to absent IR.
changes `lake cache get` to fetch artifact cloud storage URLs from Reservoir in a single bulk POST request rather than relying on per-artifact HTTP redirects. When downloading many artifacts, the redirect-based approach sends one request per artifact to the Reservoir web host (Netlify), which can be slow and risks hitting rate limits. The bulk endpoint returns all URLs at once, so curl only talks to the CDN after that.
983
996
@@ -1041,6 +1054,9 @@ This release brings a comprehensive overhaul of Lake's caching infrastructure:
0 commit comments