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

Mixing a role into a Rat fails #2484

Closed
p6rt opened this issue Sep 26, 2011 · 5 comments
Closed

Mixing a role into a Rat fails #2484

p6rt opened this issue Sep 26, 2011 · 5 comments

Comments

@p6rt
Copy link

p6rt commented Sep 26, 2011

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

Searchable as RT99986$

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

From @japhb

As seen at http://irclog.perlgeek.de/perl6/2011-09-24#i_4474816 :

23​:41 japhb nom​: 42 but role {}
23​:41 p6eval nom aed9fe​: ( no output )
23​:41 japhb nom​: 1/2 but role {}
23​:41 p6eval nom aed9fe​: OUTPUT«Not enough positional parameters passed;
got 1 but expected 3␤ in method BUILD at src/gen/CORE.setting​:5304␤ in
method BUILD_LEAST_DERIVED at src/gen/CORE.setting​:573␤ in sub
infix​:<but> at src/gen/CORE.setting​:7155␤ in <anon>
at /tmp/MBijIIXbzu​:1␤ in <anon> at /…
23​:41 japhb ^^ Wheee, another bug

Mixing a role into a Rat (either a literal one or as a variable) throws
the above weird error.

-'f

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

From @moritz

Now fixed in bfc3a42f5b3413479e11c9cfc9527dea6c52b85e, thanks to an
analysis by jnthn++. Needs tests.

@p6rt
Copy link
Author

p6rt commented Sep 26, 2011

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

@p6rt
Copy link
Author

p6rt commented Sep 29, 2011

From @moritz

now tested in S14-roles/mixin.t.

@p6rt
Copy link
Author

p6rt commented Sep 29, 2011

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant