Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion lib/typeprof/core/graph/box.rb
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,6 @@ def run0(genv, changes)

def wrong_return_type(f_ret_show, changes)
actual_ty = @a_ret.show
return if actual_ty == "untyped" # XXX: too ad-hoc?
msg = "expected: #{ f_ret_show }; actual: #{ actual_ty }"
case @node
when AST::ReturnNode
Expand Down