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
Don't use .WHAT
in examples to print the type info
#1355
Comments
Any suggestion?
|
|
Yes, |
Here's a problem: doc/Type/Whatever.pod6 would then change to: say (1..*-1).^name; which outputs { ... } Not WhateverCode, as .WHAT does. How would you like to deal with this case? |
I have a local modification to xt/examples-compilation.t that catches the use of .WHAT unless we've whitelisted the test with :ok-test Just need feedback on what you want that one example to look like. |
Chat points out that ((1..*-1)).^name works. Using that, closing... |
It's not quite the right tool for the job
Currently there's a ton of uses many of which shouldn't be using
.WHAT
:The text was updated successfully, but these errors were encountered: