mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-09 15:29:16 +02:00
* don't check for hints if we have a specialization with the same name as the to be used generic (though since the typedef would be errordef it wouldn't print anything anyway...)
git-svn-id: trunk@34531 -
This commit is contained in:
parent
50f2aab0ef
commit
531829c072
@ -2882,7 +2882,13 @@ implementation
|
||||
if assigned(srsym) and
|
||||
not (
|
||||
(srsym.typ=typesym) and
|
||||
(ttypesym(srsym).typedef.typ in [recorddef,objectdef,arraydef,procvardef,undefineddef]) and
|
||||
(
|
||||
(ttypesym(srsym).typedef.typ in [recorddef,objectdef,arraydef,procvardef,undefineddef]) or
|
||||
(
|
||||
(ttypesym(srsym).typedef.typ=errordef) and
|
||||
(sp_generic_dummy in srsym.symoptions)
|
||||
)
|
||||
) and
|
||||
not (sp_generic_para in srsym.symoptions) and
|
||||
(token in [_LT, _LSHARPBRACKET])
|
||||
) then
|
||||
|
Loading…
Reference in New Issue
Block a user