mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-14 20:09:27 +02:00
* fixed typo in jvm record clone implementation comment
git-svn-id: trunk@23527 -
This commit is contained in:
parent
fffa2e163a
commit
cb85846507
@ -375,10 +375,10 @@ implementation
|
|||||||
if (struct.typ=recorddef) and
|
if (struct.typ=recorddef) and
|
||||||
not assigned(struct.typesym) then
|
not assigned(struct.typesym) then
|
||||||
internalerror(2011032812);
|
internalerror(2011032812);
|
||||||
{ We can easily use the inherited clone in case we have to create a deep
|
{ We cannot easily use the inherited clone in case we have to create a
|
||||||
copy of certain fields. The reason is that e.g. sets are pointers at
|
deep copy of certain fields. The reason is that e.g. sets are pointers
|
||||||
the JVM level, but not in Pascal. So the JVM clone routine will copy the
|
at the JVM level, but not in Pascal. So the JVM clone routine will copy
|
||||||
pointer to the set from the old record (= class instance) to the new
|
the pointer to the set from the old record (= class instance) to the new
|
||||||
one, but we have no way to change this pointer itself from inside Pascal
|
one, but we have no way to change this pointer itself from inside Pascal
|
||||||
code.
|
code.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user