hkt icon indicating copy to clipboard operation
hkt copied to clipboard

Anonymous instantiation of __* interfaces is possible

Open gneuvill opened this issue 7 years ago • 0 comments

This

__2<p, S, A> nasty() {
  return new __2<p, S, A>() {};
}

compiles. It shouldn't.

gneuvill avatar May 27 '17 22:05 gneuvill