Skip to content

ExplicitOuter failure when calling inline method defined in inner class of superclass #1990

Closed
@smarter

Description

@smarter

Triggered while trying to compile the shared backend with dotty, here's a minimization:

class A {
  class Foo {
    inline def inlineMeth: Unit = {
      new Bar
    }
  }
  class Bar
}

class B extends A {
  (new Foo).inlineMeth
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions