-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
The following DRL generates an infinite loop, while it works correctly if you replace the positional constraint with a normal one as in the commented pattern.
declare Outer end declare Inner outer : Outer end rule "Init" when then insert( new Inner( null ) ); insert( new Outer( ) ); end rule "Bind" when $o : Outer( ) $i : Inner( null ; ) // $i : Inner( outer == null ) then modify ( $i ) { setOuter( $o ); } end