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

2011-08-01 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6293


Walter Bright  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||bugzi...@digitalmars.com
 Resolution||FIXED


--- Comment #4 from Walter Bright  2011-08-01 
21:45:02 PDT ---
https://github.com/D-Programming-Language/dmd/commit/1dac08b77af2826996567f629acf7f43d724cd48

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


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

2011-07-16 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=6293


kenn...@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 kenn...@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: ---