-
Notifications
You must be signed in to change notification settings - Fork 23
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
How to represent variable templates? #153
Comments
The
the
In the example above, the type node should be the representation of
Well, there are two declarations in that "single template declaration": (a) the declaration of the template (represented by a |
I did not invoke it on both, but this is not the problem. I would expect to have IPR like:
So only
So I only called |
On which node? |
There is a
|
See also conversation in #122 |
The proposed resolution for this (and many other declarative templates): use a
Note: the Also see #191 . |
I wanted to create a mapping from template parameters to Var with a
Forall
type, but I encountered some difficulties.Region::declare_var()
will add the var to the scope in the Region. As a result, I will end up having the sameVar
node twice in the tree. Once as the child of theMapping
, and once directly in the scope of theRegion
.The text was updated successfully, but these errors were encountered: