moved stuff out of treeutil back into absyn
think I've finally settled on the error check for block ends