Files
brew/Library
Douglas Eichelberger e836ef5679 Fix stack overflow in inject_dump_stats! with prepended modules
`inject_dump_stats!` captured methods via `instance_method` (which
returns the prepended module's version) then redefined them on the
class with `bind_call`. When the captured prepended method called
`super`, it resolved to the newly defined class method, creating an
infinite recursion.

Use an anonymous wrapper module with `super` instead of
`bind_call` to correctly delegate through the method resolution
order without cycles.

Fixes #21587
2026-02-21 16:58:05 -08:00
..

Library

This directory contains all the code run by the official brew command in Homebrew and all formulae (package descriptions) in taps (repositories containing formulae) in Taps subdirectories.