turns out the problem was in AnchorFloatingStmts. scary stuff.