You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sadly I've no idea how the evaluation of the second parameter may be skipped. This would be a problem, if the second parameter is something like T::Array[Integer] because there will be code to step trough.
Sadly sorbet-unwrap won't help if there's a method call inside
T.let(...,
orT.cast(...,
.Proposal: sorbet-unwrap could overwrite T.let / T.cast with a minimal implementation, which simply forwards the first argument and ignores the second.
Sadly I've no idea how the evaluation of the second parameter may be skipped. This would be a problem, if the second parameter is something like
T::Array[Integer]
because there will be code to step trough.See also: sorbet/sorbet#3279
The text was updated successfully, but these errors were encountered: