mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 11:24:14 +02:00
* fix output position of deprecated hint for certain cases where it was wrong, resolves #40534
This commit is contained in:
parent
60473c7ead
commit
1f91fe4b11
@ -3510,7 +3510,7 @@ implementation
|
||||
not (sp_generic_para in srsym.symoptions) and
|
||||
(token in [_LT, _LSHARPBRACKET])
|
||||
) then
|
||||
check_hints(srsym,srsym.symoptions,srsym.deprecatedmsg);
|
||||
check_hints(srsym,srsym.symoptions,srsym.deprecatedmsg,tokenpos);
|
||||
|
||||
{ if nothing found give error and return errorsym }
|
||||
if not assigned(srsym) or
|
||||
|
Loading…
Reference in New Issue
Block a user