Browse Source

* test fixed, operator overloading is now more strict

git-svn-id: trunk@1414 -
florian 20 years ago
parent
commit
6ec54bc2c9
1 changed files with 6 additions and 0 deletions
  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