Skip to content
Snippets Groups Projects
Unverified Commit b37e574a authored by Carlo Cabrera's avatar Carlo Cabrera
Browse files

Fix `typecheck` error

parent b0b52100
No related branches found
No related tags found
No related merge requests found
......@@ -339,7 +339,7 @@ module Superenv
%w[O1 O0].each do |opt|
define_method opt do |&block|
if block
if T.must(block)
with_env(HOMEBREW_OPTIMIZATION_LEVEL: opt) { block.call }
else
send(:[]=, "HOMEBREW_OPTIMIZATION_LEVEL", opt)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment