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
Deprecate eval-dies-ok/eval-lives-ok in favour of Str arg to dies-ok/lives-ok #5384
Comments
From @zoffixznetIn Test.pm6, we have throws-like that takes either a Callable or a Str as the first arg. The Callable gets called and Str gets EVALed. However, with dies-ok/lives-ok the implementation rolls out an entirely new set of subs: eval-dies-ok/eval-lives-ok. This RFC proposes the eval-dies-ok/eval-lives-ok subs get deprecated and eventually removed in favour of implementing an interface consistent with throws-like where dies-ok/lives-ok will take either Callable or Str and Str will get EVALed |
From @lizmat
I’m all for that. However, before XMas, as far as I remember, jnthn has been busy removing throws-like for dies-ok, because the throws-like were too specific. The reason for this change was really never clear to me, and/or my memory of those tension-filled days is too hazy. What I’m saying is, before going on with this, check with jnthn / TimToady. Liz |
The RT System itself - Status changed from 'new' to 'open' |
From @cokeThis was discussed briefly on irc recently, but I wanted to sum up One was lizmat's changes to insure that a very specific exception was The second was jnthn's changes to avoid checking for a very specific The ideal would have been to find every place we had one of the AdHoc We still have time to fix this issue properly before 6.d; But we can On Thu, Jun 16, 2016 at 1:13 PM, Elizabeth Mattijsen <liz@dijkmat.nl> wrote:
-- |
Migrated from rt.perl.org#128418 (status was 'open')
Searchable as RT128418$
The text was updated successfully, but these errors were encountered: