Pipe-operator does not support forward references

This commit is contained in:
Jan Petykiewicz 2023-02-23 16:23:06 -08:00 committed by jan
commit b4f36417fd
5 changed files with 21 additions and 21 deletions

View file

@ -601,7 +601,7 @@ class Pattern(PortList, AnnotatableImpl, Mirrorable):
Returns:
self
"""
flattened: dict[str | None, 'Pattern' | None] = {}
flattened: dict[str | None, 'Pattern | None'] = {}
# TODO both Library and Pattern have flatten()... pattern is in-place?
def flatten_single(name: str | None) -> None: