Op 2019-06-19 om 13:46 schreef Виктор Матузенко:

Pos behaves differently than Length and Copy.
Seems inconsistent -- should it be considered as a bug?


Afaik:

- Copy and length are builtins, pos is a function. builtin+function is not "true" overloading since both are not the same kind.

- And functions should get the overload; directive for cross unit overloading

_______________________________________________
fpc-devel maillist  -  [email protected]
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel

Reply via email to