diff --git a/config/default.yml b/config/default.yml index bb6f447c..3f9aacb3 100644 --- a/config/default.yml +++ b/config/default.yml @@ -188,12 +188,12 @@ Sorbet/BuggyObsoleteStrictMemoization: Checks for the a mistaken variant of the "obsolete memoization pattern" that used to be required for older Sorbet versions in `#typed: strict` files. The mistaken variant would overwrite the ivar with `nil` on every call, causing the memoized value to be discarded and recomputed on every call. - + This cop will correct it to read from the ivar instead of `nil`, which will memoize it correctly. - + The result of this correction will be the "obsolete memoization pattern", which can further be corrected by the `Sorbet/ObsoleteStrictMemoization` cop. - + See `Sorbet/ObsoleteStrictMemoization` for more details. Enabled: true VersionAdded: '0.7.3'