Merge pull request #12035 from Bo98/macos-version-null

os/linux: fix Version::NULL type mixup
This commit is contained in:
Bo Anderson 2021-09-14 02:14:50 +01:00 committed by GitHub
commit 08afb4b227
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 5 deletions

View File

@ -40,11 +40,11 @@ module OS
raise "Loaded OS::Linux on generic OS!" if ENV["HOMEBREW_TEST_GENERIC_OS"]
def version
Version::NULL
::Version::NULL
end
def full_version
Version::NULL
::Version::NULL
end
def languages
@ -71,7 +71,7 @@ module OS
module_function
def version
Version::NULL
::Version::NULL
end
def installed?
@ -83,7 +83,7 @@ module OS
module_function
def version
Version::NULL
::Version::NULL
end
def installed?

View File

@ -4,7 +4,6 @@
# typed: strong
module ::StackProf; end
module DependencyCollector::Compat; end
module OS::Mac::Version::NULL; end
module T::InterfaceWrapper::Helpers; end
module T::Private::Abstract::Hooks; end
module T::Private::Methods::MethodHooks; end