فهرست منبع

* declare procvar constructors as "overload" so that the implicitly added
parameterless constructor can also be found from Delphi mode

git-svn-id: branches/jvmbackend@18758 -

Jonas Maebe 14 سال پیش
والد
کامیت
6d0dd347ba
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      rtl/java/jpvarh.inc

+ 2 - 2
rtl/java/jpvarh.inc

@@ -26,8 +26,8 @@ type
   FpcBaseProcVarType = class(jlobject,jlcloneable)
   FpcBaseProcVarType = class(jlobject,jlcloneable)
     method: TMethod;
     method: TMethod;
 
 
-    constructor create(inst: jlobject; const methodName: unicodestring; const argTypes: array of JLClass);
-    constructor create(const meth: tmethod);
+    constructor create(inst: jlobject; const methodName: unicodestring; const argTypes: array of JLClass);overload;
+    constructor create(const meth: tmethod);overload;
 
 
     procedure setFpcBaseProcVarTypeBySignature(const methodName: unicodestring; const argTypes: array of JLClass); virtual;
     procedure setFpcBaseProcVarTypeBySignature(const methodName: unicodestring; const argTypes: array of JLClass); virtual;
     procedure fpcDeepCopy(result: FpcBaseProcVarType); virtual;
     procedure fpcDeepCopy(result: FpcBaseProcVarType); virtual;