mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-13 11:09:13 +02:00
* object constructors/methods obviously can also read the object
git-svn-id: trunk@6022 -
This commit is contained in:
parent
685844b61c
commit
3d99dcc178
@ -2149,7 +2149,7 @@ implementation
|
|||||||
) then
|
) then
|
||||||
{ a constructor will and a method may write something to }
|
{ a constructor will and a method may write something to }
|
||||||
{ the fields }
|
{ the fields }
|
||||||
set_varstate(methodpointer,vs_written,[])
|
set_varstate(methodpointer,vs_readwritten,[])
|
||||||
else if ((hpt.nodetype=loadn) and
|
else if ((hpt.nodetype=loadn) and
|
||||||
(methodpointer.resultdef.typ=classrefdef)) then
|
(methodpointer.resultdef.typ=classrefdef)) then
|
||||||
set_varstate(methodpointer,vs_read,[])
|
set_varstate(methodpointer,vs_read,[])
|
||||||
|
Loading…
Reference in New Issue
Block a user