Open egwspiti opened 8 years ago
> 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.
true
I don't think it's possible to fix this easily given the mechanism this (and even my (fast_method_source)) library works.
Then I guess pry/pry#1516 should be reopened.
Although this code string has invalid utf-8 chars, it is complete, and thus
true
should be returned.