We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 819953e commit 80db2a9Copy full SHA for 80db2a9
compiler/src/dotty/tools/dotc/transform/patmat/Space.scala
@@ -654,7 +654,7 @@ class SpaceEngine(implicit ctx: Context) extends SpaceLogic {
654
* Otherwise, return NoType.
655
*
656
*/
657
- def instantiate(tp1: NamedType, tp2: Type)(implicit ctx: Context): Type = {
+ def instantiate(tp1: Type, tp2: Type)(implicit ctx: Context): Type = {
658
// Fix subtype checking for child instantiation,
659
// such that `Foo(Test.this.foo) <:< Foo(Foo.this)`
660
// See tests/patmat/i3938.scala
0 commit comments