mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 13:49:39 +02:00
* nil is now recognized as being compatible with a dynamic array
This commit is contained in:
parent
1f67fff48e
commit
ecf7a2a33c
@ -1499,6 +1499,13 @@ implementation
|
||||
doconv:=tc_equal;
|
||||
b:=1;
|
||||
end
|
||||
else if is_dynamic_array(def_to) and
|
||||
{ nil is compatible with dyn. arrays }
|
||||
(fromtreetype=niln) then
|
||||
begin
|
||||
doconv:=tc_equal;
|
||||
b:=1;
|
||||
end
|
||||
else
|
||||
begin
|
||||
case def_from.deftype of
|
||||
@ -1886,7 +1893,10 @@ implementation
|
||||
end.
|
||||
{
|
||||
$Log$
|
||||
Revision 1.3 2002-08-05 18:27:48 carl
|
||||
Revision 1.4 2002-08-12 14:17:56 florian
|
||||
* nil is now recognized as being compatible with a dynamic array
|
||||
|
||||
Revision 1.3 2002/08/05 18:27:48 carl
|
||||
+ more more more documentation
|
||||
+ first version include/exclude (can't test though, not enough scratch for i386 :()...
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user