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

Issue 6847 & 6848 - Fix special cases of typeof(super) #475

Merged
merged 2 commits into from
Nov 2, 2011

Conversation

9rnsr
Copy link
Contributor

@9rnsr 9rnsr commented Oct 25, 2011

Issue 6847 - typeof(super) doesn't work outside member function
Issue 6848 - typeof(super) does not take into account const/immutable attributes inside member functions

Supplemental changes of Phobos: dlang/phobos#301

WalterBright added a commit that referenced this pull request Nov 2, 2011
Issue 6847 & 6848 - Fix special cases of typeof(super)
@WalterBright WalterBright merged commit 85549f1 into dlang:master Nov 2, 2011
@WalterBright
Copy link
Member

This causes std.xml to fail with:

..\dmd -c -o- -O -release -nofloat -w -d -version=StdDdoc -Df..\doc\phobos\std_xml.html std.ddoc std
\xml.d
std\xml.d(622): Error: function std.xml.Element.opCmp (Object o) is not callable using argument type
s (const(Element)) const
std\xml.d(633): Error: function std.xml.Element.toHash () is not callable using argument types ()

--- errorlevel 1

@9rnsr
Copy link
Contributor Author

9rnsr commented Nov 2, 2011

I have posted Phobos patch for this, it is #301, and it is already merged.
I think your phobos library is not newest.

@WalterBright
Copy link
Member

Thanks, I'll get it.

braddr pushed a commit to braddr/dmd that referenced this pull request Oct 22, 2012
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

Successfully merging this pull request may close these issues.

2 participants