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

Multiple inheritence regression #2782

Closed
hankache opened this issue Mar 22, 2019 · 0 comments
Closed

Multiple inheritence regression #2782

hankache opened this issue Mar 22, 2019 · 0 comments
Labels
objects OOP, classes, instances, roles, inheritance, (sub)methods, etc. regression Issue did not exist previously

Comments

@hankache
Copy link
Contributor

hankache commented Mar 22, 2019

class A { has $.a; }; class B { has $.b }; class C is B is A { }; say C.new(:a(1), :b(2))

Expected: C.new(b => 2, a => 1)
Got: C.new(b => 2, a => Any)

https://gist.github.com/Whateverable/e854d4a6c9b0be9078cccd0dd76ec0f7

Related to: hankache/rakuguide#192

@AlexDaniel AlexDaniel added regression Issue did not exist previously objects OOP, classes, instances, roles, inheritance, (sub)methods, etc. labels Mar 22, 2019
@jnthn jnthn closed this as completed in a855b9c Apr 26, 2019
jnthn added a commit to Raku/roast that referenced this issue Apr 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
objects OOP, classes, instances, roles, inheritance, (sub)methods, etc. regression Issue did not exist previously
Projects
None yet
Development

No branches or pull requests

2 participants