
- Found with `grep -rL "# typed: strict" Library/Homebrew | xargs grep -l "undef "`. - This stops people from trying to bump them and getting an error that they can't fix because [it's a Sorbet limitation](https://sorbet.org/docs/error-reference#3008), wasting contributor time.
14 lines
362 B
Ruby
14 lines
362 B
Ruby
# typed: true # This cannot be `# typed: strict` due to the use of `undef`.
|
|
# frozen_string_literal: true
|
|
|
|
class LinkageChecker
|
|
undef system_libraries_exist_in_cache?
|
|
|
|
private
|
|
|
|
def system_libraries_exist_in_cache?
|
|
# In macOS Big Sur and later, system libraries do not exist on-disk and instead exist in a cache.
|
|
MacOS.version >= :big_sur
|
|
end
|
|
end
|