mirror of
https://github.com/m-labs/artiq.git
synced 2024-12-25 03:08:27 +08:00
transforms/inline: do not writeback bool
This commit is contained in:
parent
649fedd656
commit
cad5933709
@ -453,7 +453,8 @@ def get_attr_writeback(attribute_namespace, rpc_mapper, loc_node):
|
||||
if hasattr(attr_info.obj, attr):
|
||||
val = getattr(attr_info.obj, attr)
|
||||
if (not isinstance(val, int)
|
||||
or isinstance(val, core_language.int64)):
|
||||
or isinstance(val, core_language.int64)
|
||||
or isinstance(val, bool)):
|
||||
continue
|
||||
#
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user