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



--- Comment #54 from klickverbot <c...@klickverbot.at> 2012-06-04 12:14:40 PDT 
---
(In reply to comment #52)
> This is a bug, both should be optimized equally:
> 
> void foo(immutable int * _param) pure
> {
>    immutable(int)* param = _param; // legal
>    ... // same code as if you had written void foo(immutable(int)* param)
> }

Yep, both should be recognized PUREstrong in DMD – if not, please open a new
bug report for that.

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

Reply via email to