core/module.rbs in rbs-3.6.0.pre.2 vs core/module.rbs in rbs-3.6.0.pre.3

- old
+ new

@@ -375,11 +375,11 @@ # Hello there! # dummy:123:in `module_eval': undefined local variable # or method `code' for Thing:Class # def class_eval: (String arg0, ?String filename, ?Integer lineno) -> untyped - | [U] () { (self m) -> U } -> U + | [U] () { (self m) [self: self] -> U } -> U # <!-- rdoc-file=vm_eval.c --> # Evaluates the given block in the context of the class/module. The method # defined in the block will belong to the receiver. Any arguments passed to the # method will be passed to the block. This can be used if the block needs to @@ -1081,10 +1081,10 @@ # Hello there! # dummy:123:in `module_eval': undefined local variable # or method `code' for Thing:Class # def module_eval: (String arg0, ?String filename, ?Integer lineno) -> untyped - | [U] () { (self m) -> U } -> U + | [U] () { (self m) [self: self] -> U } -> U # <!-- # rdoc-file=vm_eval.c # - mod.module_exec(arg...) {|var...| block } -> obj # - mod.class_exec(arg...) {|var...| block } -> obj