On Thu, 17 Jan 2019 22:42:39 +0100 Sven Barth via fpc-pascal <fpc-pascal@lists.freepascal.org> wrote:
>[...] > > Is this an oversight, or has FPC some use for the default > > directive? > For now I'd say that it's an oversight. Delphi allows it for class > and record helpers, but not for helpers for primitive types. In > theory we could allow it for non-array and non-string types (aka > those that don't have an internal [...] "operator"). On the other > hand we can simply forbid "default" for primitive type helpers like > Delphi does... Thanks! Mattias _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal