Skip to content

Ruby Debug showing very repeditive error in impl.rb #35

@nathan-nhm

Description

@nathan-nhm

While trying to debug other things, I'm running ruby with RUBYOPT=-d

Exception 'SyntaxError' at ~/Ruby3421_x64/lib/ruby/gems/3.4.0/gems/forwardable-1.3.3/lib/forwardable/impl.rb:6 - ~/Ruby3421_x64/lib/ruby/gems/3.4.0/gems/forwardable-1.3.3/lib/forwardable/impl.rb:6: syntax errors found
> 6 | BEGIN{throw tag}; ().pos=
    |                         ^ expected an expression after `=`
    |                          ^ unexpected end-of-input, assuming it is closing the parent top level context

Exception 'SyntaxError' at ~/Ruby3421_x64/lib/ruby/gems/3.4.0/gems/forwardable-1.3.3/lib/forwardable/impl.rb:6 - ~/Ruby3421_x64/lib/ruby/gems/3.4.0/gems/forwardable-1.3.3/lib/forwardable/impl.rb:6: syntax errors found
> 6 | BEGIN{throw tag}; ().sync=
    |                          ^ expected an expression after `=`
    |                           ^ unexpected end-of-input, assuming it is closing the parent top level context

A sample with a dozen instances, normally hidden by the begin/rescue in impl.rb

I take it the eval() currently used hates the '=' of setter methods?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions