<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Am 22.03.2013 08:13, schrieb Xiangrong
Fang:<br>
</div>
<blockquote
cite="mid:CAP93jB2pBEvjCJCNK_oGJvSBxwt4n9tG=Oi7eOmCLJZr7+xdTQ@mail.gmail.com"
type="cite">
<div class="gmail_quote"><span style="font-family:courier
new,monospace">2013/3/22 Sven Barth <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:pascaldragon@googlemail.com" target="_blank">pascaldragon@googlemail.com</a>></span><br>
</span>
<div>
<span style="font-family:courier new,monospace"> </span></div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex"><span
style="font-family:courier new,monospace">> The problem
is gone, because PNode is not a generic class, but only a
record. However, the following errors are generated:</span>
<p><span style="font-family:courier new,monospace">2.6.x does
not support nested types in generics. Generic fixes and
improvements are only found in 2.7.1 as most of them were
to invasive to be merged back.</span></p>
</blockquote>
<div><span style="font-family:courier new,monospace">OK, then
why this error happened:<br>
<br>
demo2.lpr(76,13) Error: Incompatible types: got
"TRoller.TTreap$PPerson$Byte" expected "TRoller"<br>
</span></div>
</div>
</blockquote>
<br>
AFAIR there was also a problem with result types in generics. Could
you please test your code with 2.7.1 to be sure?<br>
<br>
Regards,<br>
Sven<br>
</body>
</html>