diff options
author | Jean Boussier <[email protected]> | 2023-07-17 11:41:46 +0200 |
---|---|---|
committer | git <[email protected]> | 2023-07-20 17:58:52 +0000 |
commit | 460c27dc15b5efc46a74cb2a7809ca3fa6ce72a7 () | |
tree | 15e4da74dc45635380e17ea10d2f3ce4b52c2984 /lib/syntax_suggest | |
parent | b41fc9b9a4ad2043a9fabce15814eade9b252569 (diff) |
[ruby/syntax_suggest] Handle new eval source location
See https://bugs.ruby-lang.org/issues/19755 In Ruby 3.3, using `eval` without providing a source location will now default to `"(eval at #{__FILE__}:#{__LINE__})"`. https://.com/ruby/syntax_suggest/commit/8e5076472e
-rw-r--r-- | lib/syntax_suggest/pathname_from_message.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -13,7 +13,7 @@ module SyntaxSuggest # # => "/tmp/scratch.rb" # class PathnameFromMessage - EVAL_RE = /^\(eval\):\d+/ _RE = /^-:\d+/ attr_reader :name |