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



--- Comment #1 from Kenji Hara <k.hara...@gmail.com> 2012-10-04 05:27:35 PDT ---
Current 'scope' storage class for value parameter is no meaning, and 'in'
storage class is identical with const.

Then, simplified test case is:

alias bool delegate(in int) pure Bar;
Bar foo1(immutable int x) pure {
    return y => x > y; // OK
}
Bar foo2(const int x) pure {
    return y => x > y; // error
}

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

Reply via email to