Skip to content

[jit][script][easy] Change empty list literal compiler error to match actual builtin name#10265

Closed
suo wants to merge 2 commits intomasterfrom
compiler_warning
Closed

[jit][script][easy] Change empty list literal compiler error to match actual builtin name#10265
suo wants to merge 2 commits intomasterfrom
compiler_warning

Conversation

@suo
Copy link
Member

@suo suo commented Aug 6, 2018

I changed the name of this builtin to match Python's native style, but forgot to change the compiler error to match.

@suo suo added the oncall: jit Add this issue/PR to JIT oncall triage queue label Aug 6, 2018
@suo suo requested review from apaszke and jamesr66a August 6, 2018 18:00
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.

Should that be lowercase foo? i.e., _construct_empty_int_list instead of _construct_empty_INT_list

@suo
Copy link
Member Author

suo commented Aug 6, 2018

mm yeah, I was just trying to make clearer that FOO should be replaced with an actual type. I'll change

@suo
Copy link
Member Author

suo commented Aug 7, 2018

@pytorchbot retest this please

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.

michaelsuo is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@apaszke apaszke deleted the compiler_warning branch August 7, 2018 14:07
goodlux pushed a commit to goodlux/pytorch that referenced this pull request Aug 15, 2018
…pytorch#10265)

Summary:
I changed the name of this builtin to match Python's native style, but forgot to change the compiler error to match.
Pull Request resolved: pytorch#10265

Differential Revision: D9192963

Pulled By: michaelsuo

fbshipit-source-id: 225ca4cd50fbbe3b31c369deeb3123a84342aab1
@ezyang ezyang added the merged label Jun 26, 2019
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.

5 participants