cldwalker / debugger

port of ruby-debug that works on 1.9.2 and 1.9.3
BSD 2-Clause "Simplified" License
846 stars 80 forks source link

Fixed warning messages got with ruby -w. #71

Closed Nucc closed 11 years ago

Nucc commented 11 years ago

I turned on the -w option for ruby in one of my project and I got some warning messages from debugger too. I fixed the issues in this patch.

cldwalker commented 11 years ago

Thanks! I may not get to this until after I sort out ruby 2 support. list.rb seems to have a fair amount of changes. Were you just dealing with "warning: `-' after local variable is interpreted as binary operator"? That seems to be a ruby warning bug http://bugs.ruby-lang.org/attachments/3620/parserbug.rb