Files
scryer-prolog/src/lib
Emilie Burgun b76bdd75e4 Fix #2725 by calling load_context/1 in the unspecified branch of strip_module/3
This fixes #2725, by making it so that `strip_module(Pred, M, P), call(M:P)`
doesn't throw an `instanciation_error` when `Pred` isn't in the form `module:predicate`.

Now, `strip_module(hello, M, P)` will call `load_context(M)`, which unifies `M`
with the topmost module (or `user`).

Two new test cases are added: issue2725.pl, which tests the minimal case id(X) --> X.
and the strip_module(P, M, _), call(M:P) scenario, and module_resolution,
which tests the behavior of strip_module in a few scenarios.
2025-01-12 14:08:28 +01:00
..
2023-10-02 23:49:09 +02:00
2025-01-02 18:30:29 +01:00
2023-02-28 22:09:35 +01:00
2025-01-02 18:54:27 +01:00
2023-01-19 21:15:25 +01:00
2024-12-08 20:00:00 +01:00
2023-12-10 20:55:50 -03:00
2023-01-19 21:15:25 +01:00
2022-10-26 23:36:07 -06:00
2023-01-19 21:15:25 +01:00
2023-01-19 21:15:25 +01:00
2023-11-22 21:21:19 +01:00
2023-12-11 12:28:59 -03:00