Nothing to complete

Hi, (636.4 KB)

In the attached there is a class called worker.pas

    method ExecuteAsync(stoppingToken: System.Threading.CancellationToken): Task; override;
      var startedTask := Task.Factory.StartNew(method begin
        end, stoppingToken);
      exit startedTask;

In the above I can use code completion to select stoppingToken and then the method IsCancellationRequest.

If I then uncomment the code surrounded by /* and */ and build. When I try and use code completion I get “nothing to complete”

If you then put back the /* and */ and build, code completion works again.


Logged as bugs://E25261.

bugs://E25261 was closed as fixed.

1 Like