Made compiler collect errors, instead of bailing out at the first one