laurelang icon indicating copy to clipboard operation
laurelang copied to clipboard

Bug: type-constraint not applied

Open timoniq opened this issue 1 year ago • 0 comments

Expected and real behaviour:

query as_boolean(prime, x) = @false must produce only natural solutions for x due to prime signature ?prime(natural).

but it also produces integer results.

How to reproduce:

as_boolean(prime, x) = @false
-- to fix 'x' can be predefined
x ~ natural, as_boolean(prime, x) = @false

System info

laurelang: dev

OS: unix

timoniq avatar Sep 03 '23 02:09 timoniq