Class: Audition::Static::Checks::MutableConstants
- Defined in:
- lib/audition/static/checks/mutable_constants.rb
Overview
Reading a constant whose value is not deeply shareable from a non-main Ractor raises Ractor::IsolationError. Classification is deliberately conservative: values we cannot prove mutable statically (method calls, constant refs, splats) are left to the dynamic probe.
Constant Summary collapse
- CONSTANT_WHY =
"Reading a constant that holds a non-shareable object " \ "from a non-main Ractor raises Ractor::IsolationError " \ "(\"can not access non-shareable objects in constant\")."
Constants inherited from Base
Base::EMPTY_CATALOG, Base::WRAPPER
Instance Attribute Summary
Attributes inherited from Base
Method Summary
Methods inherited from Base
call, check_name, explain, explanations, handlers, #initialize, on
Constructor Details
This class inherits a constructor from Audition::Static::Checks::Base