inexpression environment doesn't catch the specified expressions if they are redefined in the same module:
S x;
L F = x;
.sort
L F = F;
*.sort; * <-- workaround
inexpression F;
id x = 1;
endinexpression;
*if (expression(F)) id x = 1; * same for expression(name)
P;
.end
giving
FORM 4.1 (Feb 22 2017, v4.1-20131025-297-g62bfde7) 64-bits Run: Tue Feb 28 19:09:02 2017
F =
x;
inexpression
environment doesn't catch the specified expressions if they are redefined in the same module:giving
which should be
1
.