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

`is required` can take an error message but currently broken #2084

Closed
zoffixznet opened this Issue Jul 17, 2018 · 1 comment

Comments

Projects
None yet
1 participant
@zoffixznet
Contributor

zoffixznet commented Jul 17, 2018

http://colabti.org/irclogger/irclogger_log/perl6-dev?date=2018-07-17#l88

Zoffix | do you know why `is required` [...] restricts to Cool
timotimo | you could have put an error message there, for example?
Zoffix | m: class { has $!bar is required('nope') }
rakudo-moar dd0cea31a: OUTPUT: «===SORRY!===␤Object of type Str in QAST::WVal, but not in SC␤»
@zoffixznet

This comment has been minimized.

Show comment
Hide comment
@zoffixznet

zoffixznet Jul 17, 2018

Contributor

lizmat++ fixed this and tested/documented it:
7c349b7
perl6/roast@d34d852
perl6/doc@d6b162b

Contributor

zoffixznet commented Jul 17, 2018

lizmat++ fixed this and tested/documented it:
7c349b7
perl6/roast@d34d852
perl6/doc@d6b162b

@zoffixznet zoffixznet closed this Jul 17, 2018

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