scala-dev icon indicating copy to clipboard operation
scala-dev copied to clipboard

SI-6103 & SI-8592 signatures of mixed in methods should use instantiated type params

Open adriaanm opened this issue 9 years ago • 2 comments
trafficstars

  • [ ] SI-6103 Mixin generates method signatures that confuse javac
  • [ ] SI-8592 mixin method overrides final method with variation on the reflect.{api,internal} pattern of abstract types implemented by a class

adriaanm avatar Jul 12 '16 20:07 adriaanm

This has become less pressing now that we don't mix in forwarders in subclasses, which implies we're not mixing in forwarders with the wrong signature :-) Fixing this properly would require doing (some of) mixin before (some of) erasure (we need more bridges after mixing in methods with sharper (erased) signatures than the (erased) one in the supertrait).

adriaanm avatar Jul 28 '16 21:07 adriaanm

This has become less pressing now that we don't mix in forwarders in subclasses

Not true anymore since -Xmixin-force-forwarders was set to true by default for performance reasons, right ?

smarter avatar Jan 28 '19 11:01 smarter