Skip to content

Conversation

driazati
Copy link
Contributor

@driazati driazati commented Jan 4, 2019

Adds List to eval environment for type lines and allows List to be used on PythonOps (follows the same style as the Tuple code), fixes #15661

davidriazati added 2 commits January 3, 2019 17:26
Adds `List` to eval environment for type lines for better error
messages
@facebook-github-bot facebook-github-bot added the oncall: jit Add this issue/PR to JIT oncall triage queue label Jan 4, 2019
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@driazati has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

});
py::class_<ListType, Type, std::shared_ptr<ListType>>(m, "ListType")
.def(
py::init([](TypePtr a) { return ListType::create(a); }))
Copy link
Contributor

Choose a reason for hiding this comment

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

Did you mean to change the permissions on this file (I think that's what these numbers are?)

image

Copy link
Contributor

@zou3519 zou3519 left a comment

Choose a reason for hiding this comment

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

thanks!

Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@driazati has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

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

Labels

oncall: jit Add this issue/PR to JIT oncall triage queue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[jit] Python functions can't take list argument

4 participants