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


Rainer Schuetze <r.sagita...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
                 CC|                            |r.sagita...@gmx.de


--- Comment #7 from Rainer Schuetze <r.sagita...@gmx.de> 2010-03-27 06:05:49 
PDT ---
Here's a patch, but I am not 100% sure, whether the scope is correct for the
type aswell.

Index: expression.c
===================================================================
--- expression.c    (revision 421)
+++ expression.c    (working copy)
@@ -7432,6 +7432,7 @@
         error("can only * a pointer, not a '%s'", e1->type->toChars());
         return new ErrorExp();
     }
+    type = type->semantic(e1->loc, sc); // correct scope?
     rvalue();
     }
     return this;

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

Reply via email to