error #7257: The characteristics of the procedure's arguments differ from those of the same procedure's arguments that are redefined in the INTERFACE statement. ArgName.
It does not say what the procedure is called and VS debugger does not jump to its location when double clicking the error message.
All the source browsing is broken too for submodules.
Using latest compiler.
Got it - thanks. The "uninformative" problem is that the compiler is not associating the error with any particular source line - what we call a "locator". Therefore Visual Studio just points to the first line in the source. I have reported that to the compiler developers as issue DPD200414312.
I also see that procedures in submodules don't show up in the procedure dropdown list (and most likely that means they aren't considered the definition of those procedures.) I will report that separately - issue number DPD200414315.
But really I meant the "uninformative" bit is that the message does not name the erroneous procedure. e.g. it would be better to say:
The characteristics of the procedure's [foo] arguments differ from those of the same procedure's arguments that are redefined in the INTERFACE statement.
If you had the source line where the argument was declared, it would be pretty obvious which procedure was involved. Note that it does give you the name of the argument that differs. But I'll agree that more information is always better.
(Internal tracking id: DPD200376097 - Enhance error #7257 to include the corresponding source code line number)
(Internal tracking id: DPD200376098 – "Jump to error" jumps to line 1 of affected source file related to ifort error #7257)