Uh oh!
There was an error while loading. Please reload this page.
repl: preprocess only for defaultEval - #9752
Conversation
addaleax
left a comment
There was a problem hiding this comment.
LGTM pending CI, thank you for doing this :)
There was a problem hiding this comment.
Can I suggest that you add a comment describing why this particular input was chosen?
princejwesley
commented
Nov 22, 2016
There was a problem hiding this comment.
This appending of the \n isn't needed for custom eval functions?
Because it was being appended before.
There was a problem hiding this comment.
@nunocastromartins Good point. \n was appended for most of the cases and it was done in same preprocess. I'll add \n for all cases as if eval function receives what user entered including the final enter.
CC: @Fishrock123
Last CI wasn't so happy...? |
New CI: https://ci.nodejs.org/job/node-test-pull-request/4974/ |
princejwesley
commented
Nov 27, 2016
@Fishrock123 CI is green 😄 |
princejwesley
commented
Nov 28, 2016
@nodejs/collaborators I'll land this tomorrow if there is no objection. |
princejwesley
commented
Nov 30, 2016
@addaleax review the changes made after your approval. |
princejwesley
commented
Dec 2, 2016
@nodejs/collaborators ping |
addaleax
left a comment
There was a problem hiding this comment.
Still LGTM
(sorry, I was a bit busy here at NINA)
Code preprocessing is applicable only for default eval function. Therefore, Moved `preprocess` function invocation inside `defaultEval` function. Fixes: nodejs#9743 PR-URL: nodejs#9752 Reviewed-By: Anna Henningsen <anna@addaleax.net>
princejwesley
commented
Dec 3, 2016
Rebased, CI again: https://ci.nodejs.org/job/node-test-pull-request/5157/ |
princejwesley
commented
Dec 5, 2016
Landed in 9366b8 |
Code preprocessing is applicable only for default eval function. Therefore, Moved `preprocess` function invocation inside `defaultEval` function. Fixes: nodejs#9743 PR-URL: nodejs#9752 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Checklist
make -j8 test(UNIX), orvcbuild test nosign(Windows) passesAffected core subsystem(s)
repl
Description of change
Code preprocessing is applicable only for default
eval function. Therefore, Moved
preprocessfunctioninvocation inside
defaultEvalfunction.Fixes: #9743