MacOS.prefer_64_bit is deprecated.
voldemortensen opened this issue · comments
While upgrading dart I received this error:
Error: dart-lang/dart/dart: undefined method
prefer_64_bit?' for OS::Mac:Module`
Upon further investigation I found that the prefer_64_bit
method has been deprecated. See Homebrew/brew@170c549#diff-1c1e64ec9fa3342388d0ddb7a9607eca
The new way to check is the is_64_bit
method.
@voldemortensen, shouldn't that be Hardware::CPU.is_64_bit?
instead of MacOS.is_64_bit?
?
Hi, it still gives the error. Isn't it fixed yet?
Same problem here... Perhaps I should downgrade homebrew to get it working?
This is not completely fix yet – Need to update https://github.com/dart-lang/sdk/tree/master/tools/apps/update_homebrew too!
Fixed in dart-lang/sdk@8719fb3
Thanks for the fix!