Fixed an error when reporting implicit self