class IntrospectablePass(object):
- def __init__(self, transformer):
+ def __init__(self, transformer, blocks):
self._transformer = transformer
self._namespace = transformer.namespace
+ self._blocks = blocks
# Public API
utils.break_on_debug_flag('tree')
- final = IntrospectablePass(transformer)
+ final = IntrospectablePass(transformer, blocks)
final.validate()
if options.warn_fatal and logger.did_warn():
main = MainTransformer(transformer, blocks)
main.transform()
- final = IntrospectablePass(transformer)
+ final = IntrospectablePass(transformer, blocks)
final.validate()
raw = output.getvalue()