Skip to content

Commit

Permalink
Merge 3a50170 into 99a6d7f
Browse files Browse the repository at this point in the history
  • Loading branch information
cdonovick committed Apr 25, 2023
2 parents 99a6d7f + 3a50170 commit 93770df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion hwtypes/adt.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
from .adt_meta import TupleMeta, AnonymousProductMeta, ProductMeta
from .adt_meta import SumMeta, TaggedUnionMeta, EnumMeta, is_adt_type

__all__ = ['Tuple', 'Product', 'Sum', 'Enum']
__all__ = ['Tuple', 'Product', 'Sum', 'Enum', 'TaggedUnion']
__all__ += ['new_instruction', 'is_adt_type']

#special sentinal value
Expand Down
3 changes: 1 addition & 2 deletions hwtypes/adt_meta.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
'BoundMeta', 'TupleMeta', 'ProductMeta',
'SumMeta', 'TaggedUnionMeta', 'EnumMeta']


def _is_dunder(name):
return (len(name) > 4
and name[:2] == name[-2:] == '__'
Expand Down Expand Up @@ -325,7 +324,7 @@ def fields(cls):

@property
@abstractmethod
def fields_dict(cls):
def field_dict(cls):
pass

@property
Expand Down

0 comments on commit 93770df

Please sign in to comment.