Explorar el Código

* test fixed, operator overloading is now more strict

git-svn-id: trunk@1414 -
florian hace 20 años
padre
commit
6ec54bc2c9
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. 6 0
      tests/webtbs/tw2481.pp

+ 6 - 0
tests/webtbs/tw2481.pp

@@ -21,6 +21,12 @@ Var
     B.A := V;
   End;
 
+  Operator := (V : Extended) B : TMoo;
+  Begin
+    B:=TMoo.Create;
+    B.A := V;
+  End;
+
 Constructor TMoo.Init;
 Begin