Lazarsu2.0.2 + FPC3.0.4 On Win10x64
I met with a weird problem:
The compiler compains: Incompatible type for the arg no.2: Got "AnsiString", Expected "TStream"
at this code:
WriteXMLFile(xml_doc, file_name);
However, if I use WriteXML instead, it has no problem.
I'm sure it's also no problem in Lazarsu1.8.4 + FPC3.0.4 On Win10x64 even using WriteXMLFile.
Is it a bug?