code = @dice begin
function uniform(bitrange::Int, bitwidth::Int)
ans = fill(DistBool(dicecontext(), false), bitwidth)
for i = 1:bitrange
ans[i] = flip(0.5)
end
DistInt(ans)
end
a = uniform(3, 4)
b = uniform(3, 4)
max(a,b)
end
infer(code, :bdd)
ERROR: MethodError: no method matching isless(::DistInt, ::DistInt)