os/linux: fix Version::NULL type mixup

This commit is contained in:
Bo Anderson 2021-09-11 00:10:24 +01:00
parent 28e3b37371
commit ffdd3644fd
No known key found for this signature in database
GPG Key ID: 3DB94E204E137D65
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