fix panic in current_prolog_flag/2 when arguments are the same variable
This commit is contained in:
2
tests-pl/issue2914.pl
Normal file
2
tests-pl/issue2914.pl
Normal file
@@ -0,0 +1,2 @@
|
||||
:- initialization(main).
|
||||
main :- ( current_prolog_flag(X, X) -> write(true) ; write(false) ).
|
||||
Reference in New Issue
Block a user