Nothing to complete in Except

Hi,
With this .net console app

namespace ConsoleApplication22;

type
  Program = class
  public

    class method Main(args: array of String): Int32;
    begin
      try
        
      except
        on E:Exception do
        begin
          Console.WriteLine($'{E.          
        end;
      end;
    end;

  end;

end.

If I ask for method completion I get ‘nothing to complete’

If I complete the code myself

      Console.WriteLine($'{E.Message}');

I can get method completion after the . and it will list Message

Cheers,
John

is the real issue the “except”, or that the string is unterminated? (it’s a bug in either case, ofc)

it looks like the unterminated string is causing the problem.

1 Like

Thanks, logged as bugs://82628

bugs://82628 got closed with status fixed.