pytorch
78b806ab - [JIT] Disallow plain List type annotation without arg (#44584)

Commit
4 years ago
[JIT] Disallow plain List type annotation without arg (#44584) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/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
Author
Meghan Lele
Parents
Loading