0

wrong link to error line

thebugfinder il y a 12 ans 0

here is a ruby script:

class MyClass
  attr_non_existant :test
end
MyClass.new


When i build this code,  i get

C:/ruby-test/break.rb:2:in `<class:MyClass>': undefined method `attr_non_existant' for MyClass:Class (NoMethodError)

from C:/ruby-test/break.rb:1:in `<main>'

[Finished in 0.2s with exit code 1]


if i click on the second link

C:/ruby-test/break.rb:1

it opens a new file called *weird square symbol*from C