Compiler: Getting back errors in list (#1102)

Fixes #1102.