Skip to content

Commit

Permalink
Auto merge of #61857 - Centril:typeck-extract-expr, r=oli-obk
Browse files Browse the repository at this point in the history
typeck: extract expr type-checking to expr.rs + refactor check_expr_kind

In this PR we:

- Extract out the bulk of the expression type checking logic from `check/mod.rs` into a new file `check/expr.rs`.

- Refactor `fn check_expr_kind` into several smaller functions.

More functions should probably be moved but I think this is a reasonable start.

r? @oli-obk
cc @eddyb
  • Loading branch information
bors committed Jun 17, 2019
2 parents 289b78a + 5057552 commit b01a257
Show file tree
Hide file tree
Showing 3 changed files with 1,543 additions and 1,382 deletions.
Loading

0 comments on commit b01a257

Please sign in to comment.