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

Wip/inline eval file context #330

Merged
merged 5 commits into from
Sep 22, 2019
Merged

Wip/inline eval file context #330

merged 5 commits into from
Sep 22, 2019

Conversation

PEZ
Copy link
Collaborator

@PEZ PEZ commented Sep 21, 2019

First stab at addressing #329. Only makes a difference for inline evaluations right now. Not sure if that is enough... But I guess it is an improvement anyway. Can you have a sanity check look @kstehn ?

column: column,
stdout: m => out.push(m),
stderr: m => err.push(m),
pprint: !!pprint
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here i dont understand the !! isnt it the same as not having those?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a leftover from when we didn't use types. Basically it just forces it to be either true or false from merely being just truthy or falsy. It should be fixed with better typing control, I think.

@PEZ PEZ merged commit af0031a into dev Sep 22, 2019
@PEZ PEZ deleted the wip/inline-eval-file-context branch October 12, 2019 10:03
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

Successfully merging this pull request may close these issues.

2 participants