[llvm] [utils] use annotations from __future__ in lit (PR #184225)

Henrik G. Olsson via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 2 12:55:13 PST 2026


================
@@ -94,8 +94,8 @@ class Display(object):
     def __init__(
         self,
         opts: Namespace,
-        tests: List[Test],
-        header: Optional[str],
+        tests: list[Test],
+        header: str | None,
----------------
hnrklssn wrote:

I have not, I was under the impression it'd be supported with the `__future__` import. I'll check manually.

https://github.com/llvm/llvm-project/pull/184225


More information about the llvm-commits mailing list