mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 08:11:12 +00:00
Remove some stray dbg! calls
This commit is contained in:
parent
abec56973d
commit
ddb664b554
1 changed files with 2 additions and 4 deletions
|
@ -111,7 +111,7 @@ fn solve(
|
||||||
state
|
state
|
||||||
}
|
}
|
||||||
Lookup(symbol, expected_type, _region) => {
|
Lookup(symbol, expected_type, _region) => {
|
||||||
let var = *vars_by_symbol.get(&dbg!(symbol)).unwrap_or_else(|| {
|
let var = *vars_by_symbol.get(&symbol).unwrap_or_else(|| {
|
||||||
// TODO Instead of panicking, solve this as True and record
|
// TODO Instead of panicking, solve this as True and record
|
||||||
// a Problem ("module Foo does not expose `bar`") for later.
|
// a Problem ("module Foo does not expose `bar`") for later.
|
||||||
panic!(
|
panic!(
|
||||||
|
@ -140,12 +140,10 @@ fn solve(
|
||||||
let expected = type_to_var(subs, rank, pools, expected_type.get_type_ref());
|
let expected = type_to_var(subs, rank, pools, expected_type.get_type_ref());
|
||||||
|
|
||||||
// TODO use region when reporting a problem
|
// TODO use region when reporting a problem
|
||||||
let vars = unify(subs, problems, dbg!(actual), dbg!(expected));
|
let vars = unify(subs, problems, actual, expected);
|
||||||
|
|
||||||
introduce(subs, rank, pools, &vars);
|
introduce(subs, rank, pools, &vars);
|
||||||
|
|
||||||
dbg!(vars_by_symbol);
|
|
||||||
|
|
||||||
state
|
state
|
||||||
}
|
}
|
||||||
And(sub_constraints) => {
|
And(sub_constraints) => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue