Show: Object Pascal C++
Display Preferences

E2535 Interface methods must not have parameterized methods (Object Pascal)

From Appmethod Topics
Jump to: navigation, search

Go Up to Error and Warning Messages (Object Pascal) Index

This occurs when trying to declare a parametrized method as part of an interface.


program E2535;

{$APPTYPE CONSOLE}

uses
  SysUtils;

type
IMyInterface = interface
  procedure Receive<T>(Event: T);
end;

begin
  Writeln('E2535 Interface methods must not have parameterized methods');
end.
Personal tools
In other languages