From 9709b3d19fcc60c516d77dfad6dd16e5d5dce3fa Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 24 May 2026 08:33:47 +0000 Subject: [PATCH] rbs: Update rbs_collection.lock.yaml to load herb's RBS Add `delegate` (stdlib) to the locked RBS collection. The herb gem's sig/herb/token_list.rbs declares `class TokenList < SimpleDelegator`, which comes from the `delegate` standard library. Without `delegate` in the collection, Steep cannot resolve `SimpleDelegator` and silently falls back to treating every herb type as `untyped`, hiding all the real type errors in this project. This is the final piece of the type-error cleanup begun in #144 / #145 / #147 / #148. With this lock update in place, `bin/steep check` will actually exercise the herb types and surface regressions in CI rather than the previous misleading "No type error detected" pass. The other gems added by the lock regeneration are: - `not_nilable` (rubygems): the gem was added to the Gemfile on main (PR #146) but the lock had not been regenerated yet. - `dbm`, `pstore`, `psych` (stdlib): transitive standard-library dependencies that `rbs collection install` picks up automatically. https://claude.ai/code/session_01RmbtE71f1Bg92oY8CCL2pn --- rbs_collection.lock.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/rbs_collection.lock.yaml b/rbs_collection.lock.yaml index 12f7fab1..beb5f084 100644 --- a/rbs_collection.lock.yaml +++ b/rbs_collection.lock.yaml @@ -53,6 +53,14 @@ gems: version: '0' source: type: stdlib +- name: dbm + version: '0' + source: + type: stdlib +- name: delegate + version: '0' + source: + type: stdlib - name: diff-lcs version: '1.5' source: @@ -137,6 +145,10 @@ gems: version: 0.3.0 source: type: rubygems +- name: not_nilable + version: 1.0.0 + source: + type: rubygems - name: openssl version: '0' source: @@ -173,6 +185,14 @@ gems: version: 1.9.0 source: type: rubygems +- name: pstore + version: '0' + source: + type: stdlib +- name: psych + version: '0' + source: + type: stdlib - name: rainbow version: '3.0' source: