Fix bug on error reporting for mixin calls.