Expanding generics phase doesn't provide detailed info about the error

I’m getting E703 errors in Island-Windows. The problem is that even in Diagnostics mode, there is no info about which method or type is causing the problem.

         -> Phase Expanding Generics started.

E: Virtual generic methods not supported on Island
(0,0): duplicate-error E703: Virtual generic methods not supported on Island
(0,0): duplicate-error E703: Virtual generic methods not supported on Island
(0,0): duplicate-error E703: Virtual generic methods not supported on Island
(0,0): duplicate-error E703: Virtual generic methods not supported on Island
(0,0): duplicate-error E703: Virtual generic methods not supported on Island
← Phase Expanding Generics failed, took 0.000s.

This code reproduces the problem:
TFail = class
public
constructor;virtual;empty;
class method FailingClassMethod<T>;empty;
end;

My problem is not that it doesn’t compile. Is the effort required to find out why it didn’t due to the lack of information in that error :sweat_smile:

Agreed. this should have a location.

Logged as bugs://E27780.