Oxygene: is File a new reserved word?

Hello,
In some code, I use the File local variable. With the latest, I have an error saying:

error E1: “do” expected, got assignment (:=)

with the following statement:

using File := File.Open (…) do …

Hrmm that’s wrong. I’ll take a look.

Fixed. Sorry for that.

1 Like

The reason for this is that we parse (and fail) File of Byte now. But this should only hit for a type File of (for delphi compatibility) inside ifdefs.