[Issue 900] changing import order causes type mismatch

2013-11-15 Thread d-bugmail
https://d.puremagic.com/issues/show_bug.cgi?id=900


Andrei Alexandrescu and...@erdani.com changed:

   What|Removed |Added

 Status|REOPENED|RESOLVED
 CC||and...@erdani.com
 Resolution||FIXED


--- Comment #10 from Andrei Alexandrescu and...@erdani.com 2013-11-15 
20:34:29 PST ---
This seems to have been fixed, possibly a while ago.

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


[Issue 900] changing import order causes type mismatch

2012-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=900


d...@dawgfoto.de changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||d...@dawgfoto.de
 Resolution||INVALID


--- Comment #8 from d...@dawgfoto.de 2012-02-14 05:03:30 PST ---
This is invalid because 'import palette : RGB;' introduces RGB as private
alias.
You cannot access it from color_inl.
Changing that to 'public import palette : RGB' will fix your problem.

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


[Issue 900] changing import order causes type mismatch

2012-02-14 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=900


d...@dawgfoto.de changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 Resolution|INVALID |


--- Comment #9 from d...@dawgfoto.de 2012-02-14 05:29:54 PST ---
Sorry, I was using a wrong dmd version.
Changing it to 'public import palette : RGB' will fail because
of a forward reference error. This happens due to the cyclic import of color
and color_inc.

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


[Issue 900] changing import order causes type mismatch

2010-04-15 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=900



--- Comment #7 from Jesse Phillips jesse.k.phillip...@gmail.com 2010-04-15 
14:23:31 PDT ---
My import issue is no longer in DMD 2.043, but the original submission's code
still doesn't work.

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


[Issue 900] changing import order causes type mismatch

2009-11-13 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=900


Leandro Lucarella llu...@gmail.com changed:

   What|Removed |Added

 CC||llu...@gmail.com


--- Comment #5 from Leandro Lucarella llu...@gmail.com 2009-11-13 15:50:57 
PST ---
I think the spec is quite clear:

  [...]
  Public Imports

  By default, imports are private. [...]

http://www.digitalmars.com/d/1.0/module.html#ImportDeclaration

Static, renamed and selective import are all *import*, so it looks like they
all should be private by default (for the same reason basic imports are).

This bug is old and doesn't look very useful, I think it should be closed.

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