Tags: cji-stripe/sorbet
Tags
use abseil's contains method rather than std's find()/end() idiom (so… …rbet#4193) * convert find() == end() calls to use !contains * convert find() != end() calls to use contains * format autoloader.cc
add T::Configuration.*vm_prop_serde* methods to t.rbi (sorbet#4190)
fix T.bind doc example (sorbet#4187)
Add T.bind for changing bindings inside procs and lambdas (sorbet#4170) * Add T.bind for changing bindings inside procs and lambdas * Apply suggestions for documentation and error messages Co-authored-by: Jake Zimmerman <zimmerman.jake@gmail.com> * Remove duplicate test * Add T.bind website documentation * Refactor docs * Fix failing test Co-authored-by: Jake Zimmerman <zimmerman.jake@gmail.com>
add some sorbet-runtime serialization tests (sorbet#4179) * add tests for error paths on array and hash properties * add some tests for T::Set props * add a test for serializing custom subtypes with bad data * add tests for error cases in serializing serializable props
Fix parser shift/reduce conflicts (sorbet#4178) * Fix shift/reduce warnings in parser Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com> * Display correct token strings for tBDOT2 and tBDOT3 Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
Two sorbet-runtime call-validation optimizations (sorbet#4158) - Deprecate T::Profile, and rip out the sampled timing code from call validation. - Add a new semi-fast path for call validation with up to four positional arguments and no keyword arguments or other special cases, very similar to the existing fast path except without the restriction that types must be T::Types::Simple.
add a T::Configuration option for VM prop serde and appropriate modif… …ications (sorbet#4171)
Explain how to enable `requires_ancestor` (sorbet#4177) Signed-off-by: Alexandre Terrasa <alexandre.terrasa@shopify.com>
PreviousNext