https://d.puremagic.com/issues/show_bug.cgi?id=9148



--- Comment #2 from [email protected] 2014-04-05 14:31:07 PDT ---
(In reply to comment #0)
> 
> struct S{
>     int x;
>     int foo()pure{
>         return x++;
>     }
>     int bar()immutable pure{
>         // return x++; // error
>         return 2;
>     }
> }
> 

(this behaviour is obviously expected.)

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

Reply via email to