mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 19:28:26 +08:00
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
Block a user