Comments can't contain ' 1. V1.0.5.2

Just spent an hour trying to work out how I had forgotten the syntax for a Case statement, then realised it was a comment:

// Can't use class helpers (e.g. .ToString)

[Error] frmMainu.pas(202): Expected "."

Compiles fine as a comment in a pure VCL.


Thanks for reporting. This appears to be a bug in the compiler. We'll inform the person responsible for the compiler to have this fixed.