-
-
Notifications
You must be signed in to change notification settings - Fork 611
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
Enhance alias to work with elements of a sequence? #20612
Comments
You'll need to be more specific, as:
compiles without error. |
I'll try and find the problem situations... I always seem to find it when using |
@TurkeyMan Did you find any? |
I haven't had time at a computer, I'm traveling at the moment. |
What about
?? |
alias seq = AliasSeq!(1, 2, 3);
alias x = seq[0];
|
Something like this doesn't work; I think it's because the
alias
is trying to alias an[]
operator expression?I constantly want to do things like:
alias firstParam = Parameters!myFunction[0]
when implementing some shim's or function call wrappers.The text was updated successfully, but these errors were encountered: