You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We came across a case with rbs validate recently that we think should have an error:
class Foo[A]
extend Bar[A]
end
module Bar[A]
end
We think that Bar[A] should have an error because extend is adding the methods to the singleton class, so it won't have access to instance type variables. This is similar to the other cases of singleton methods, class variables, etc.
The text was updated successfully, but these errors were encountered:
We came across a case with
rbs validate
recently that we think should have an error:We think that
Bar[A]
should have an error because extend is adding the methods to the singleton class, so it won't have access to instance type variables. This is similar to the other cases of singleton methods, class variables, etc.The text was updated successfully, but these errors were encountered: