Because the return... line is missing before line 19. The compiler certainly gave the appropriate message.