Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgrade to typed: true with let(false, Boolean)
IMHO this is a design bug in Ruby copied into Sorbet. A Boolean class should exist in Ruby, or Sorbet should infer it, without us having to declare it with T.let Without this: ``` ./library/packages/src/modules/PackageKit.rb:52: Changing the type of a variable in a loop is not permitted https://srb.help/7001 52 | ret = true if Builtins.regexpmatch(line, "boolean.*true") ^^^^ Existing variable has type: FalseClass Attempting to change type to: TrueClass ```
- Loading branch information