lean4-htt/tests/lean/test_single.sh
Sebastian Ullrich c4747752fe
fix: detect private references in inferred type of public def (#10762)
This PR fixes an inconsistency in the module system around defs with
elided types.
2025-10-15 12:51:54 +00:00

8 lines
328 B
Bash
Executable file

#!/usr/bin/env bash
source ../common.sh
# these tests don't have to succeed
# `--root` to infer same private names as in the server
# Elab.inServer to allow for arbitrary `#eval`
exec_capture lean --root=.. -DprintMessageEndPos=true -Dlinter.all=false -Dexperimental.module=true -DElab.inServer=true "$f" || true
diff_produced