Sha256: 47b311559c45228de6b44464c8fde9ff33591c88abb79c4c510051f3dafaeb79
Contents?: true
Size: 388 Bytes
Versions: 4
Compression:
Stored size: 388 Bytes
Contents
module M def f(m); super :M; end end class C def f(m); end end class D < C def f(m); super :D; end include M end class E < D def f(m); super :E; end include M end E.new.f(:top) __END__ # Classes module M def f : (:D | :E) -> nil end class C def f : (:M) -> nil end class D < C include M def f : (:M) -> nil end class E < D include M def f : (:top) -> nil end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
typeprof-0.8.0 | smoke/super5.rb |
typeprof-0.7.0 | smoke/super5.rb |
typeprof-0.6.1 | smoke/super5.rb |
typeprof-0.6.0 | smoke/super5.rb |