Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

wrong line number when calling an attribute method with too many arguments #1878

Closed
p6rt opened this issue Jun 26, 2010 · 4 comments
Closed
Labels

Comments

@p6rt
Copy link

p6rt commented Jun 26, 2010

Migrated from rt.perl.org#76112 (status was 'resolved')

Searchable as RT76112$

@p6rt
Copy link
Author

p6rt commented Jun 26, 2010

From @moritz

11​:29 * moritz_ has a case of totally wrong line number
11​:29 <@​jnthn> OH NOES
11​:29 <@​jnthn> moritz_​: How rong is rong?
11​:29 <@​moritz_> jnthn​: line 67 for a 30 line file
11​:29 <@​jnthn> lol
11​:30 <@​moritz_> rakudo​: class A { has $.x is rw }; A.new.x(5)
11​:30 <+p6eval> rakudo 6769e1​: OUTPUT«too many positional arguments​: 2
passed,
  1 expected␤ in main program body at line 67␤»
11​:30 <@​moritz_> you see, line 67
11​:30 <@​jnthn> ..
11​:30 <@​jnthn> wtf.
11​:30 <@​jnthn> Epic fail!
11​:30 * moritz_ submits rakudobug
11​:30 <@​jnthn> plz to file ... yes that :-)

@p6rt
Copy link
Author

p6rt commented Jul 19, 2010

From @jnthn

On Sat Jun 26 02​:34​:03 2010, moritz wrote​:

11​:29 * moritz_ has a case of totally wrong line number
11​:29 <@​jnthn> OH NOES
11​:29 <@​jnthn> moritz_​: How rong is rong?
11​:29 <@​moritz_> jnthn​: line 67 for a 30 line file
11​:29 <@​jnthn> lol
11​:30 <@​moritz_> rakudo​: class A { has $.x is rw }; A.new.x(5)
11​:30 <+p6eval> rakudo 6769e1​: OUTPUT«too many positional arguments​: 2
passed,
1 expected␤ in main program body at line 67␤»
11​:30 <@​moritz_> you see, line 67
11​:30 <@​jnthn> ..
11​:30 <@​jnthn> wtf.
11​:30 <@​jnthn> Epic fail!
11​:30 * moritz_ submits rakudobug
11​:30 <@​jnthn> plz to file ... yes that :-)

Unfailed it​:

class A { has $.x is rw };
A.new.x(5)

C​:\Consulting\rakudo>perl6 test.p6
too many positional arguments​: 2 passed, 1 expected
  in main program body at line 2​:test.p6

Given to moritz++ for spectesting.

Thanks,

Jonathan

@p6rt
Copy link
Author

p6rt commented Jul 19, 2010

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Jul 24, 2010

@moritz - Status changed from 'open' to 'resolved'

@p6rt p6rt closed this as completed Jul 24, 2010
@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant