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:
David Nadlinger 2020-07-29 23:15:07 +01:00
parent 48fb80017f
commit a7e855b319

View File

@ -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'}