FIXED: expand_goal/7 position information in clause that process the mod...

...ule was incorrect

You can see, the goal position was swapped with the module position.
Greetings,

Edison
PA0 and PA refers to the position of M, but M will not be expanded,
therefore, its position is preserved and PA0=PA.
Regards,

Edison <http://edisonm.com/>

2014-09-10 9:50 GMT+02:00 Jan Wielemaker <notifications@github.com>:

> In boot/expand.pl:
>
> > @@ -494,11 +494,11 @@
> >          expand_goal(A, PA0, EA, PA, M, MList, Term).
> >  expand_goal(M:G, P0, M:EG, P, _M, _MList, Term) :-
> >  	atom(M), !,
> > -	f2_pos(P0, PA0, PB, P, PA, PB),
> > +	f2_pos(P0, PA, PB0, P, PA, PB),
>
> Should this not be like this?
>
> f2_pos(P0, PA0 PB0, P, PA, PB),
>
> --
> Reply to this email directly or view it on GitHub
> <https://github.com/SWI-Prolog/swipl-devel/pull/14/files#r17347174>.
>