mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
format
This commit is contained in:
parent
f170509bf1
commit
22e2545fd6
21 changed files with 268 additions and 413 deletions
|
@ -1127,11 +1127,7 @@ pub fn constrain_decls(home: ModuleId, decls: &[Declaration]) -> Constraint {
|
|||
constraint
|
||||
}
|
||||
|
||||
fn constrain_def_pattern(
|
||||
env: &Env,
|
||||
loc_pattern: &Loc<Pattern>,
|
||||
expr_type: Type,
|
||||
) -> PatternState {
|
||||
fn constrain_def_pattern(env: &Env, loc_pattern: &Loc<Pattern>, expr_type: Type) -> PatternState {
|
||||
let pattern_expected = PExpected::NoExpectation(expr_type);
|
||||
|
||||
let mut state = PatternState {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue