Quote Originally Posted by Delfi
{$mode delphi} // fixes this
I had mode Delphi defined at the top of the unit. It didn't fix that.