Skip to content

Uncaught exception when type checking invalid generic inheritance #11

@JukkaL

Description

@JukkaL

The type checker raises an uncaught exception when checking the following program:

class A<S>
  def f(t as S)
  end
end
class B is A<Int>
end
class C is B<T>
  def g(t as T, d as dynamic)
    f(d)
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions