josefs/Gradualizer

Solve constraints in unary_op_arg_type/2

erszcz opened this issue · 0 comments

This is here to track:

%% TODO: this should be more specific once we're able to solve constraints on type vars.
%% Otherwise, we'll lose some feedback / precision.
%% With constraint solving, if the type variable resolves to pos_integer()
%% and _Op == '-' here, then we should have returned neg_integer().