[fpc-pascal] bug in Interface documentation?

Dmitry Boyarintsev skalogryz.lists at gmail.com
Mon Oct 12 17:57:03 CEST 2015

On Mon, Oct 12, 2015 at 11:51 AM, Graeme Geldenhuys <
mailinglists at geldenhuys.co.uk> wrote:

> The syntax diagram suggests that multiple interfaces can't be specified
> in the "heritage" section.

Are you saying that interfaces allow multiple inheritance? I don't think
they do.

A class can implement multiple interfaces (thus the listing them through
the comma is fine), but an interface can inherit only from one interface.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20151012/1bffb931/attachment.html>

More information about the fpc-pascal mailing list