Have you tried rebuilding GHC completely after the change? I tried your change and the error went away after I rebuilt from scratch. The build system probably "just" didn't pick up all files that needed rebuilding. Might be worth reporting? Not sure. Greetings, Peter Wortmann