[vector] RFR (M): Ensure intrinsics are parameterized with non-capturing lambdas
John Rose
john.r.rose at oracle.com
Thu Feb 21 03:27:32 UTC 2019
On Feb 20, 2019, at 5:26 PM, Vladimir Ivanov <vladimir.x.ivanov at oracle.com> wrote:
>
> It turned out to be surprisingly easy to capture something from the context :-) So, after a couple of such surprises I decided to automate it.
>
> Maybe with the arrival of java compiler intrinsics [1], there'll be a way to express that constraint in a more disciplined manner.
That would be nice. In the end I'd like to be able to say
things like, "this apply method requires a state-free
crackable lambda", and have it checked by javac.
More information about the panama-dev
mailing list