We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a884109 commit 6203b2eCopy full SHA for 6203b2e
src/rule.jl
@@ -480,10 +480,7 @@ function (acr::ACRule)(term)
480
end
481
# this is temporary and only constructed so the rule can
482
# try and match it - no need to hashcons it.
483
- old_hc = ENABLE_HASHCONSING[]
484
- ENABLE_HASHCONSING[] = false
485
- tempterm = Term{T}(f, args_buf)
486
- ENABLE_HASHCONSING[] = old_hc
+ tempterm = BSImpl.Term{T}(f, args_buf; unsafe = true)
487
# this term will be hashconsed regardless
488
result = r(tempterm)
489
if result !== nothing
0 commit comments