Parsing source code fails although it compiles just fine

Issue #162 resolved
Jens Mertelmeyer created an issue

Operations like [Alt]+[F9] or double-clicking a failed test will fail with source code that compiles fine in Delphi 11.

TestInsight’s parser does not seem to not recognize the Binary Literals and Decimal Separators which were introduced in Delphi 11:

The following source

procedure TMyTestCase.My_Test();
begin
    var bitmask := %10001001;
    var float := 3_123.55;
end;

will show a message box

An error occured while parsing:
'SemiColon' expected found '%'

The only workaround I found is not using the new language features at all 😥

Comments (2)

  1. Log in to comment