Skip to content

[JIT] Disallow plain List type annotation without arg#44584

Closed
SplitInfinity wants to merge 1 commit intogh/splitinfinity/44/basefrom
gh/splitinfinity/44/head
Closed

[JIT] Disallow plain List type annotation without arg#44584
SplitInfinity wants to merge 1 commit intogh/splitinfinity/44/basefrom
gh/splitinfinity/44/head

Conversation

@SplitInfinity
Copy link
Copy Markdown

@SplitInfinity SplitInfinity commented Sep 12, 2020

Stack from ghstack:

Summary
This commit extends the work done in #38130 and disallows plain
Python3-style List type annotations.

Test Plan
This commit extends TestList.test_no_element_type_annotation to the
Python3-style type annotation.

Differential Revision: D23721514

**Summary**
This commit extends the work done in #38130 and disallows plain
Python3-style `List` type annotations.

**Test Plan**
This commit extends `TestList.test_no_element_type_annotation` to the
Python3-style type annotation.

[ghstack-poisoned]
@facebook-github-bot
Copy link
Copy Markdown
Contributor

@SplitInfinity merged this pull request in 78b806a.

xuzhao9 pushed a commit that referenced this pull request Sep 18, 2020
Summary:
Pull Request resolved: #44584

**Summary**
This commit extends the work done in #38130 and disallows plain
Python3-style `List` type annotations.

**Test Plan**
This commit extends `TestList.test_no_element_type_annotation` to the
Python3-style type annotation.

Test Plan: Imported from OSS

Reviewed By: gmagogsfm

Differential Revision: D23721514

Pulled By: SplitInfinity

fbshipit-source-id: 48957868286f44ab6d5bf5e1bf97f0a4ebf955df
@facebook-github-bot facebook-github-bot deleted the gh/splitinfinity/44/head branch September 20, 2020 14:17
laurentdupin pushed a commit to laurentdupin/pytorch that referenced this pull request Apr 24, 2026
Summary:
Pull Request resolved: pytorch#44584

**Summary**
This commit extends the work done in pytorch#38130 and disallows plain
Python3-style `List` type annotations.

**Test Plan**
This commit extends `TestList.test_no_element_type_annotation` to the
Python3-style type annotation.

Test Plan: Imported from OSS

Reviewed By: gmagogsfm

Differential Revision: D23721514

Pulled By: SplitInfinity

fbshipit-source-id: 48957868286f44ab6d5bf5e1bf97f0a4ebf955df
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants