Prerequisites
Description
When a macro expands to a structure, name resolution fails in fields with dependent types.
Steps to Reproduce
macro "foo" : command =>
`(structure Foo where
val : Nat
prop : val = 42)
foo
Expected behavior: foo declares the structure Foo
Actual behavior: foo fails with unknown identifier 'val✝'
Versions
Nightly from November 12.