lean4-htt/tests/lean/run/secVarBug.lean
Leonardo de Moura 164b26bf01 fix: make sure the resulting array size is equal to the number of binders
The following code relies on this property
```lean
       for uid in scope.varUIds, x in xs do
          sectionFVars := sectionFVars.insert uid x
```
2021-05-04 19:46:14 -07:00

8 lines
101 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

variable {α} [ToString α] (n : Nat)
local macro "foo" : term => `(n)
def f :=
foo
#check f 10