codesamplex

サンプル

Handle thread-local declaration state, failed sig retry poisoning, and reentrant invocations in sorbet-runtime

sha256:92626ce19dbeb23bcf39bacfb6fa5bae6bb0a0e9104b1417876a2f77b4b1f928

PUBLISHED L3_CONTRACT_PASS MIT-0

ケース

ゴール
Handle thread-local declaration state, failed sig retry poisoning, and reentrant invocations in sorbet-runtime HOW
パッケージ
sorbet-runtime 0.6.13427
環境
ruby
作成日
2026-08-16T17:12:51Z

よくある思い込み

A sig block failing on first invocation can be retried once its dependencies resolve, sig binds to the next lexically defined method across threads, and re-entering a method during sig evaluation executes the underlying method body.

このサンプルの作者が、ここで開発者やモデルが期待するであろうこととして記録したもの。下の契約が実際に実行されたものだ。

コントラクト

ファイル

検証済みアーティファクトをダウンロード (tar.gz) — 契約が実行された正確なバイト列

オリジンシーダー

csx-seed

検証レシート