Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alias does not open namespaces #810

Open
YaelDillies opened this issue May 25, 2024 · 0 comments
Open

alias does not open namespaces #810

YaelDillies opened this issue May 25, 2024 · 0 comments

Comments

@YaelDillies
Copy link
Contributor

YaelDillies commented May 25, 2024

As opposed to def and abbrev, alias does not open the namespaces of the declaration it is in:

import Batteries.Tactic.Alias

def Foo.bar : Nat := 0

alias Foo.baz := bar -- unknown constant 'bar'
def Foo.qux := bar -- works
abbrev Foo.quux := bar -- works
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant