Wrong line numbers in error messages when using .java files

That would make sense because the return statement is an integral part of the function so an error there makes the function in error.

2 Likes