You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$class foo {
int idexpr($foo.name() "_bar") = 0;
}
This is currently rejected because variables must have identifiers as names.
This raises an interesting question... how do we resolve references to these things? This is not an identifier, normal lookup mechanisms won't quite work. Leave them unresolved?
The text was updated successfully, but these errors were encountered:
asutton
changed the title
Allow variables and functions to have dependent idexpr names.
Allow variables and functions to have dependent idexpr names.
Jul 6, 2017
This hasn't been an issue because we've only been using idexpr within metaprograms. Those are not dependent when instantiated -- or at least they haven't been yet.
For example:
This is currently rejected because variables must have identifiers as names.
This raises an interesting question... how do we resolve references to these things? This is not an identifier, normal lookup mechanisms won't quite work. Leave them unresolved?
The text was updated successfully, but these errors were encountered: