POTENTIAL (not clear) bug fix for tests/todo/absref-crash.hs and Repeat.hs etc