forked from M-Labs/artiq
compiler.types: Change invalid default value [nfc]
This wasn't actually ever used, but was a dict instead of a set.
This commit is contained in:
parent
48fb80017f
commit
a7e855b319
|
@ -296,7 +296,7 @@ class TCFunction(TFunction):
|
|||
|
||||
attributes = OrderedDict()
|
||||
|
||||
def __init__(self, args, ret, name, flags={}):
|
||||
def __init__(self, args, ret, name, flags=set()):
|
||||
assert isinstance(flags, set)
|
||||
for flag in flags:
|
||||
assert flag in {'nounwind', 'nowrite'}
|
||||
|
|
Loading…
Reference in New Issue