alore icon indicating copy to clipboard operation
alore copied to clipboard

Uncaught exception when type checking invalid generic inheritance

Open JukkaL opened this issue 14 years ago • 0 comments

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

JukkaL avatar Feb 07 '12 14:02 JukkaL