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
# @type var s: Array[[Integer, Integer]]s=actions.each_with_index.mapdo |n,i|
[i,n]#: [Integer, Integer]end
Why we have both variable type declaration and block type assertion.
# This should works=actions.each_with_index.mapdo |n,i|
[i,n]#: [Integer, Integer]end# Or this# @type var s: Array[[Integer, Integer]]s=actions.each_with_index.mapdo |n,i|
[i,n]end
The text was updated successfully, but these errors were encountered:
Possible issue found at: https://github.com/ruby/lrama/pull/19/files#diff-ab21254dba99ec48bfb2ce485b2f9b988a3ddc3d4c651d1aed8bd2ec5334e0ecR278.
Why we have both variable type declaration and block type assertion.
The text was updated successfully, but these errors were encountered: