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
Issue
Steep raises an error when it encounters the definition for a "proc with an untyped parameter"
Running Ruby 3.3.0 and Steep 1.7.1
Steps to reproduce
Define this proc in an .rbs file:
# rbs
type untyped_proc = ^(?) -> void
Run steep check
Steep will raise this error
[Steep 1.7.1] [typecheck:typecheck@10] [background] Unexpected error: #<NoMethodError: undefined method `map_type_name' for an instance of RBS::Types::UntypedFunction>
Issue
Steep raises an error when it encounters the definition for a "proc with an untyped parameter"
Running Ruby 3.3.0 and Steep 1.7.1
Steps to reproduce
.rbs
file:steep check
(see attached proc-with-untyped-parameter-error.txt file for full stacktrace)
I think this definition of a proc is correct, as shown in the current RBS syntax document:
The text was updated successfully, but these errors were encountered: