egwspiti

Results 5 issues of egwspiti

``` > MethodSource.complete_expression?('%\a\\') => false ``` `%\a\` is a valid string however and thus it should be determined as complete.

``` > MethodSource.complete_expression?('x = :"\xC3"') => EncodingError: invalid encoding symbol ``` Although this code string has invalid utf-8 chars, it is complete, and thus `true` should be returned.

``` > MethodSource.complete_expression?('$\\') => false ``` `$\` is a global variable however, and thus it shouldn't be determined as incomplete

``` [1] pry(main)> $ Time#succ NameError: undefined local variable or method `cannot_locate_source_error' for # from /usr/local/lib/ruby/gems/1.9.1/gems/pry-0.9.12.6/lib/pry/commands/show_source.rb:28:in `content_for' ``` Only pry(0.9.12.6) and pry-doc(0.6.0) installed. Happens on both MRI 1.9.3p385 and 2.1.1p76