On using embedding syntax adjacent to normal node, behavior is unexpected.
class Foo
# @rbs! type t = String | Integer
def foo
"bar"
end
end
Expected behavior
Expected to output both embedded code & normal code.
class Foo
type t = String | Integer
def foo: () -> untyped
end
Actual behavior
class Foo
# @rbs! type t = String | Integer
def foo: () -> untyped
end
System configuration
- rbs v3.6.1
- rbs-inline v0.10.0
- steep v1.8.3