Skip to content
Merged
Show file tree
Hide file tree
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 spec/std/http/client/client_spec.cr
Original file line number Diff line number Diff line change
Expand Up @@ -483,7 +483,6 @@ module HTTP
class SubClient < HTTP::Client
def around_exec(request, &)
raise "from subclass"
yield
end
end
end
2 changes: 0 additions & 2 deletions src/compiler/crystal/interpreter/compiler.cr
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,6 @@ class Crystal::Repl::Compiler < Crystal::Visitor
leave aligned_sizeof_type(final_type), node: Nop.new.at(node.end_location)

compiled_def.closure_context = @closure_context

@instructions
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The method's return type is Nil, so this instance var read is useless.

end

private def move_arg_to_closure_if_closured(node : Def, arg_name : String)
Expand Down