mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 00:19:19 +02:00
* variants aren't compatible with nil
This commit is contained in:
parent
2936d16b5f
commit
919fff6955
@ -1947,7 +1947,7 @@ implementation
|
|||||||
b:=2;
|
b:=2;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
{ a variant isn't compatible to nil (FK)
|
||||||
variantdef :
|
variantdef :
|
||||||
begin
|
begin
|
||||||
if (fromtreetype=niln) then
|
if (fromtreetype=niln) then
|
||||||
@ -1956,7 +1956,7 @@ implementation
|
|||||||
b:=1;
|
b:=1;
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
}
|
||||||
formaldef :
|
formaldef :
|
||||||
begin
|
begin
|
||||||
{ Just about everything can be converted to a formaldef...}
|
{ Just about everything can be converted to a formaldef...}
|
||||||
@ -2012,7 +2012,10 @@ implementation
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.20 2002-10-07 09:49:42 florian
|
Revision 1.21 2002-10-09 21:01:41 florian
|
||||||
|
* variants aren't compatible with nil
|
||||||
|
|
||||||
|
Revision 1.20 2002/10/07 09:49:42 florian
|
||||||
* overloaded :=-operator is now searched when looking for possible
|
* overloaded :=-operator is now searched when looking for possible
|
||||||
variant type conversions
|
variant type conversions
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user