[delphi compatibility] string.join() does not compile on FPC
Original Reporter info from Mantis: silvioprog
-
Reporter name: silvioprog
Original Reporter info from Mantis: silvioprog
- Reporter name: silvioprog
Description:
Hello.
Consider the following example:
program Project1; uses sysutils; begin writeln(string.join('&', ['ab', 'cd'])); end.
it would print:
&LtPos;pre>ab&cd&LtPos;/pre>
however, it does not compile on FPC (I'm using latest trunk version).
Additional information:
Using literal '' instead of "string" keyword it compiles fine:
writeln(''.join('&', ['ab', 'cd']));
Mantis conversion info:
- Mantis ID: 33898
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 39399 (#441fc2fa)