Skip to content

Conversation

MartinNowak
Copy link
Member

  • This is a rather odd feature but we support it for structs
    since 2.022 so classes should be treated the same.
  • Adding the package name ('std') to the base class
    symbol table means that looking up package imports
    through the base class will take precedence over looking
    them up through module imports. In conjunction with
    access checks this could be potentially confusing
    (see Bugzilla 7491 for an example).

@Trass3r
Copy link
Contributor

Trass3r commented Feb 16, 2012

fails on FreeBSD32.

@MartinNowak
Copy link
Member Author

fails on FreeBSD32.

This was one of the unrelated semaphore failures.
We should pull dlang/phobos#431 with this.

9rnsr added a commit that referenced this pull request Jul 21, 2012
fix Issue 7491 - import symbol name unavailable in class scope
@9rnsr 9rnsr merged commit b190512 into dlang:master Jul 21, 2012
braddr pushed a commit to braddr/dmd that referenced this pull request Oct 22, 2012
Added overload for canFind which works with multiple needles.
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.

3 participants