Skip to content

Commit c5bd801

Browse files
committed
Add comment to clarify intentional typo
1 parent a3c2bd2 commit c5bd801

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/tapioca/dsl/compiler_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ def decorate
191191
klass.create_method(
192192
method.name.to_s,
193193
parameters: [],
194-
return_type: "void)",
194+
return_type: "void)", # intentional mistake, leading to `sig { returns(void)) }`
195195
class_method: false,
196196
)
197197
end

0 commit comments

Comments
 (0)