Hi everyone,

I am getting a strange error when compiling a project. I am really not sure
what is going on, because it occurs sometimes, consistently in some lines
of the code with calls to this static variable:
...
function NextID(ID : word) : word;
...
NextID(ContainerClass.SomeTypeInstance.ID)
...
type
  TSomeType = class(TSomeBaseClass)
  public
    ID : TTrialID; static;
  end;

I hit F9 again and then the project compiles with error.

Any suggestions? Should I care about this error and report it??

Best,
R
_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

Reply via email to