[Issue 11301] [2.064 beta] core.sys.linux.sys.mman triggers enum resolution error

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Oct 29 16:51:13 PDT 2013


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



--- Comment #10 from Martin Nowak <code at dawg.eu> 2013-10-29 16:51:10 PDT ---
(In reply to comment #9)
> > I don't follow here, why is there a lookup of MAP_ANON during semantic analysis
> > of a?
> 
> How else can it resolve a.MAP_ANON?

Module a defines MAP_ANON itself, hidden in the static if block.
So I presume the forward reference happens because the imported module b is
semantically analyzed before a is analyzed.

-- 
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