Revert "Better error reporting for the compiler."

This reverts commit 3265b380157ddc982a2058bde8cbbf9756b268ee.