Frac+Approx --> Float

This commit is contained in:
Richard Feldman 2019-09-01 00:50:11 -04:00
parent 695d1eb467
commit 04595a9e71
11 changed files with 112 additions and 207 deletions

View file

@ -22,7 +22,7 @@ use types::Type::{self, *};
type Env = ImMap<Symbol, Variable>;
pub fn solve(env: &Env, subs: &mut Subs, constraint: Constraint) {
println!("\nSolving:\n\n\t{:?}\n\n", constraint);
// println!("\nSolving:\n\n\t{:?}\n\n", constraint);
match constraint {
True => (),
Eq(typ, expected_type, region) => {