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
While reading ruby-lex.rb code, I found these bugs.
oneliner def
irb(main):001:1* if0irb(main):002:2* deff()irb(main):003:2* =1# This is oneliner defirb(main):004:1* 2# but RubyLex thinks it's a normal method defirb(main):005:1* 3irb(main):001:3* if1;if1;if1;irb(main):002:2* (a,b)=1# RubyLex thinks (a,b)=1 is oneliner defirb(main):003:1* (a,*)=1# See the prompt. nesting leven is 1irb(main):004:0* (a,)=1# nesting level is 0irb(main):005:-* (*)=1# nesting level is -1
Description
While reading ruby-lex.rb code, I found these bugs.
oneliner def
keywords
case in, pattern matching
while do, until do, for do
heredoc
unknown
Result of irb_info
Terminal Emulator
macOS Terminal.app
The text was updated successfully, but these errors were encountered: