Skip to content

Commit 1892be1

Browse files
committed
fully green
1 parent af9ab1a commit 1892be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

edg/core/Array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ def map_extract(self, selector: Callable[[VectorType], StringExpr]) -> ArrayStri
313313
@overload
314314
def map_extract(self, selector: Callable[[VectorType], ExtractPortType]) -> DerivedVector[ExtractPortType]: ...
315315

316-
def map_extract(self, selector: Callable[[VectorType], Union[ConstraintExpr, Port]]) -> Union[ArrayExpr, DerivedVector]:
316+
def map_extract(self, selector: Callable[[VectorType], Union[ConstraintExpr, ExtractPortType]]) -> Union[ArrayExpr, DerivedVector[ExtractPortType]]:
317317
param = selector(self._elt_sample)
318318
if isinstance(param, ConstraintExpr): # TODO check that returned type is child
319319
return ArrayExpr.array_of_elt(param)._bind(MapExtractBinding(self, param))

0 commit comments

Comments
 (0)