lean4-htt/tests/elab/syntaxAbbrevQuot.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

22 lines
637 B
Text

do
let info ← Lean.MonadRef.mkInfoFromRefPos
let scp ← Lean.getCurrMacroScope
let quotCtx ← Lean.MonadQuotation.getContext
pure
{
raw :=
Lean.Syntax.node1 info `foo
(Lean.Syntax.node1 info `token.a (Lean.Syntax.atom info "a")) } : ?m (Lean.TSyntax `foo)
fun x =>
have __discr := x;
if __discr.isOfKind `foo = true then
have __discr_1 := __discr.getArg 0;
if __discr_1.isOfKind `token.a = true then
have __discr := __discr_1.getArg 0;
true
else
have __discr := __discr.getArg 0;
false
else
have __discr := x;
false : Lean.Syntax → Bool