lean4-htt/tests/elab/unif_issue.lean.out.expected
Garmelon 08eb78a5b2
chore: switch to new test/bench suite (#12590)
This PR sets up the new integrated test/bench suite. It then migrates
all benchmarks and some related tests to the new suite. There's also
some documentation and some linting.

For now, a lot of the old tests are left alone so this PR doesn't become
even larger than it already is. Eventually, all tests should be migrated
to the new suite though so there isn't a confusing mix of two systems.
2026-02-25 13:51:53 +00:00

27 lines
1 KiB
Text

"<missing>"
pure 0 : Id Nat
let rhs := fun a => pure a;
rhs 0 : Id Nat
toString
(do
let a ←
do
let info ← MonadRef.mkInfoFromRefPos
let scp ← getCurrMacroScope
let quotCtx ← MonadQuotation.getContext
pure
{
raw :=
Syntax.ident info "Nat.one".toRawSubstring' (addMacroScope quotCtx `Nat.one scp)
[Syntax.Preresolved.decl `Nat ["one"]] }
let rhs_0 : Syntax → Syntax → Unhygienic Syntax := fun a b => pure Syntax.missing
let rhs_1 : Unit → Unhygienic Syntax := fun _a => pure Syntax.missing
let discr_2 : TSyntax `term := a
if discr_2.raw.isOfKind ((((Name.anonymous.mkStr "Lean").mkStr "Parser").mkStr "Term").mkStr "add") = true then
let discr_3 := discr_2.raw.getArg 0;
let discr_4 := discr_2.raw.getArg 1;
let discr_5 := discr_2.raw.getArg 2;
rhs_0 discr_3 discr_5
else
let discr_7 := a;
rhs_1 ()).run : String