[Issue 6293] [Regression 2.054] The expression x.y makes the function impure when the 'x' part is not just a variable

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 16 01:12:56 PDT 2011


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


kennytm at gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch
            Summary|[Regression 2.054] 'pure'   |[Regression 2.054] The
                   |does not work with member   |expression x.y makes the
                   |of array of aggregrate      |function impure when the
                   |                            |'x' part is not just a
                   |                            |variable


--- Comment #3 from kennytm at gmail.com 2011-07-16 01:07:42 PDT ---
Further failing cases:

 * f(x).member
 * (*__withSym).member  (which is what bug 6284 is about)
 * ...

In a DotVarExp, whenever the 'e1' is not a VarExp or a DotVarExp, the purity
check will fail even if 'e1' is already verified as pure.

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