didoudiaz / gprolog

GNU Prolog
Other
106 stars 13 forks source link

ensure_loaded/1 wants suddently predicate indicator #68

Closed Jean-Luc-Picard-2021 closed 1 month ago

Jean-Luc-Picard-2021 commented 1 year ago

In Version 1.4.5 I get:

cijfdklibcdkbmbh

In Version 1.6.0 I get:

image

I don't see this behaviour documented:

When such a directive is encountered it is simply ignored. http://www.gprolog.org/manual/gprolog.html#sec59

Jean-Luc-Picard-2021 commented 1 year ago

The bug was introduced here 5 months ago when check_pi_list/2 was added?

handle_directive(ensure_loaded, DLst, _) :-
     !,
     check_pi_list(DLst, f),
     warn('ensure_loaded directive not supported - directive ignored', []).
Jean-Luc-Picard-2021 commented 1 month ago

Possibly need to close this ticket anyway, this GitHub seems to be completely dead, just like GNU Prolog. The ticket was opened 12 months ago. It was neither classified by

severity nor otherwise touched by any GNU developer.