Compiler points to a wrong position when there is a missing comma in the parameter list. The only error in the test file is missing "," between two parameters in the declaration of a method. However, The first message the compiler points to is the first valid line of the program, which has no errors. This may look like a minor problem, and can be detected by the programmer immediately, since the code does not have complex structures and there are no other errors in the code. However, in a more complex case, when actual location may not been shown and compiler crushes, programmers will not be able to find the actual location which has the error, when looking at the first message provided by the compiler.