better error reporting in coreTypeToWeakType; dont use Prelude_error