[Issue 4145] cross alias namespace can't be resolve

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun May 2 03:27:25 PDT 2010


http://d.puremagic.com/issues/show_bug.cgi?id=4145


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #1 from bearophile_hugs at eml.cc 2010-05-02 03:27:23 PDT ---
This code can contain more than one problem. This is a reduced test case that
shows one of the problems:


class A(T) {}
class B(T) {}
alias B!Foo Bar;
alias A!(int) Foo;
void main() {}


dmd 2.043 shows:
test.d(3): Error: forward reference to 'A!(int)'

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list