mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-19 23:39:31 +02:00
* add a remark that's going to be important once extended RTTI is supported (Delphi programs crash if an attribute's constructor is used that does not have any extended RTTI)
git-svn-id: trunk@42391 -
This commit is contained in:
parent
71fa4d1fe2
commit
5cea374255
@ -464,6 +464,9 @@ implementation
|
||||
|
||||
if (pcalln.nodetype=calln) and assigned(tcallnode(pcalln).procdefinition) and not codegenerror then
|
||||
begin
|
||||
{ TODO: once extended RTTI for methods is supported, reject a
|
||||
constructor if it doesn't have extended RTTI enabled }
|
||||
|
||||
{ collect the parameters of the call node as there might be
|
||||
compile time type conversions (e.g. a Byte parameter being
|
||||
passed a value > 255) }
|
||||
|
Loading…
Reference in New Issue
Block a user