[Issue 8751] Problem with pure inference of inner delegate
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 4 05:33:26 PDT 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8751
--- Comment #1 from Kenji Hara <k.hara.pg at 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: -------
More information about the Digitalmars-d-bugs
mailing list