Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
``` ❯ bundle exec rake steep bundle exec steep check # Type checking files: .............................................................................................................................F......................... lib/lrama/grammar/symbols/resolver.rb:201:33: [error] Cannot pass a value of type `(::Integer | nil)` as an argument of type `::Integer` │ (::Integer | nil) <: ::Integer │ nil <: ::Integer │ │ Diagnostic ID: Ruby::ArgumentTypeMismatch │ └ sym.token_id = Integer($1, 8) ~~~~~~~~~~~~~~ lib/lrama/grammar/symbols/resolver.rb:203:36: [error] Type `(::String | nil)` does not have method `bytes` │ Diagnostic ID: Ruby::NoMethod │ └ sym.token_id = $1.bytes.first ~~~~~ Detected 2 problems from 1 file ```
- Loading branch information