Fix typecheck error
This commit is contained in:
parent
b0b521001e
commit
b37e574ad3
@ -339,7 +339,7 @@ module Superenv
|
|||||||
|
|
||||||
%w[O1 O0].each do |opt|
|
%w[O1 O0].each do |opt|
|
||||||
define_method opt do |&block|
|
define_method opt do |&block|
|
||||||
if block
|
if T.must(block)
|
||||||
with_env(HOMEBREW_OPTIMIZATION_LEVEL: opt) { block.call }
|
with_env(HOMEBREW_OPTIMIZATION_LEVEL: opt) { block.call }
|
||||||
else
|
else
|
||||||
send(:[]=, "HOMEBREW_OPTIMIZATION_LEVEL", opt)
|
send(:[]=, "HOMEBREW_OPTIMIZATION_LEVEL", opt)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user