Page 1 of 1

Object initialization problem

Posted: 30 Jan 2017 19:39
by Martin Meyer
Hello Thomas,

please check this construction. It throws error c660 : Failure possibility during object initialization (in VIP 7502):

Code: Select all

interface myObj end interface myObj   %---   class myObj : myObj       constructors         new1 : (object Obj).         new2 : ().   end class myObj   %---   implement myObj       clauses         new1(Obj) :-             _MyObj = tryConvert(myObj, Obj),             !.         new1(_Obj) :-             new2().       clauses         new2().   end implement myObj

Posted: 31 Jan 2017 11:26
by Thomas Linder Puls
Thank you, we will look at it.