We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 foo = this
Found in func.d at dmd. Minimized:
func.d
class F { bool equals() { alias fd1 = this; } }
The text was updated successfully, but these errors were encountered:
It's because this as a type has been removed in #250. Specs say that
Type aliases can sometimes look indistinguishable from alias declarations: The distinction is made in the semantic analysis pass.
So i suppose the commit should be reverted. The idea here is then that this will alias to the instance, always, and never to typeof(this)
this
typeof(this)
Sorry, something went wrong.
No actually i see now that the PR was not merged.
f441f87
Merge pull request #260 from BBasile/issue-258
d9490f1
fix #258 - fail to parse `alias foo = this` merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
No branches or pull requests
Found in
func.d
at dmd.Minimized:
The text was updated successfully, but these errors were encountered: