Skip to content

Commit

Permalink
Prep for dropflag hints: refactor trans:_match to pass around `Matc…
Browse files Browse the repository at this point in the history
…hInput` rather than `ValueRef`.

(already thumbs-upped pre-rebase by nikomatsakis)

The refactoring here is trivial because `trans::datum::Lvalue`
currently carries no payload. However, future commits will start
adding a payload to `Lvalue`, and thus will force us either

 1. to thread the payload through the `_match` code (a long term goal), or

 2. to ensure the payload has some reasonable default value.
  • Loading branch information
pnkfelix committed Jul 28, 2015
1 parent 3eb7dd7 commit 9ef61f1
Show file tree
Hide file tree
Showing 2 changed files with 118 additions and 56 deletions.

0 comments on commit 9ef61f1

Please sign in to comment.