* 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:
svenbarth 2019-07-12 22:07:08 +00:00
parent 71fa4d1fe2
commit 5cea374255

View File

@ -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) }