"""
from itertools import combinations
-from typing import TYPE_CHECKING, Generic, Iterable, Mapping, TypeVar
+from typing import Generic, Iterable, Mapping, TypeVar
from nmutil.plain_data import plain_data
from bigint_presentation_code.compiler_ir import (GPRRangeType, Op, RegClass,
RegLoc, RegType, SSAVal)
-from bigint_presentation_code.ordered_set import OFSet, OSet
-
-if TYPE_CHECKING:
- from typing_extensions import final
-else:
- def final(v):
- return v
-
+from bigint_presentation_code.util import OFSet, OSet, final
_RegType = TypeVar("_RegType", bound=RegType)