Skip to content

Compiler fail when overloaded method has inline decorator #1342

Closed
@MaxGraey

Description

@MaxGraey
class Base {
  @inline // this cause to internal assertion error
  foo(): this { return this }
}

class Foo extends Base {
  foo(): this { return super.foo() }
}

new Foo().foo()

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions