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

Attempting to initialize non-existing attribute is silent #3119

Closed
p6rt opened this issue May 1, 2013 · 4 comments
Closed

Attempting to initialize non-existing attribute is silent #3119

p6rt opened this issue May 1, 2013 · 4 comments

Comments

@p6rt
Copy link

p6rt commented May 1, 2013

Migrated from rt.perl.org#117829 (status was 'rejected')

Searchable as RT117829$

@p6rt
Copy link
Author

p6rt commented May 1, 2013

From @lizmat

[23​:55​:42] <lizmat> rn​: class A { }; my $a= A.new( foo => 1 ); $a # shouldn't this complain about trying to initialize a non-existing attribute?
[23​:55​:44] <+camelia> rakudo 802574, niecza v24-37-gf9c8fc2​: ( no output )

This came up during my work in the masakism class

@p6rt
Copy link
Author

p6rt commented Jul 27, 2015

From @perlpilot

On Wed May 01 14​:59​:03 2013, elizabeth wrote​:

[23​:55​:42] <lizmat> rn​: class A { }; my $a= A.new( foo => 1 ); $a
# shouldn't this complain about trying to initialize a non-existing
attribute?
[23​:55​:44] <+camelia> rakudo 802574, niecza v24-37-gf9c8fc2​: ( no
output )

This came up during my work in the masakism class

I believe this falls under http://design.perl6.org/S12.html#Interface_Consistency
and as such, is not a bug.

--

-Scott (PerlJam/perlpilot)

@p6rt
Copy link
Author

p6rt commented Jul 27, 2015

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

@p6rt p6rt closed this as completed Jul 27, 2015
@p6rt
Copy link
Author

p6rt commented Jul 27, 2015

@perlpilot - Status changed from 'open' to 'rejected'

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

No branches or pull requests

1 participant