When refactoring bartiq I left the following comment in _compile:
# NOTE: Old compilation algorithm was written with the assumption that root is always an empty string.
# The fact that remove the name and then add it back at the end is a hack solution and needs to be fixed in future.
When refactoring
bartiq
I left the following comment in_compile
:To get around it I introduced this logic:
We should get rid of this logic and fix the compilation logic that it does not make any assumptions about naming of root (or any other subroutine).