pytorch
ffe127e4 - [JIT] Disallow plain Tuple type annotation without arg (#44585)

Commit
5 years ago
[JIT] Disallow plain Tuple type annotation without arg (#44585) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/44585 **Summary** This commit disallows plain `Tuple` type annotations without any contained types both in type comments and in-line as Python3-style type annotations. **Test Plan** This commit adds a unit test for these two situations. Test Plan: Imported from OSS Reviewed By: gmagogsfm Differential Revision: D23721515 Pulled By: SplitInfinity fbshipit-source-id: e11c77a4fac0b81cd535c37a31b9f4129c276592
Author
Meghan Lele
Parents
Loading