Uh oh!
There was an error while loading. Please reload this page.
resolve: cleanup and groundwork for resolving the AST - #33232
Conversation
…ath` to return a `NameBinding` instead of a `Def`
Refactor `ty::Visibility` methods to use a new trait `NodeIdTree` instead of the ast map.
jseyfried
commented
Apr 27, 2016
| loop { | ||
| if node_ancestor == ancestor { return true } | ||
| let node_ancestor_parent = self.get_module_parent(node_ancestor); | ||
| if node_ancestor_parent == node_ancestor { return false } |
There was a problem hiding this comment.
style nit: spread these ifs over three lines
nrc
commented
Apr 27, 2016
Nice! r+ with the style nits addressed. |
jseyfried
commented
Apr 27, 2016
@nrc thanks for the quick review! I addressed the style nits in the above commit. |
28a2f7e to
ac26419Compare
Whoops -- didn't notice that when mechanically refactoring, fixed. |
nrc
commented
Apr 28, 2016
@bors: r+ |
bors
commented
Apr 28, 2016
📌 Commit ac26419 has been approved by |
bors
commented
Apr 29, 2016
⌛ Testing commit ac26419 with merge cc1b031... |
bors
commented
Apr 29, 2016
💔 Test failed - auto-win-msvc-64-opt |
alexcrichton
commented
Apr 29, 2016
@bors: retry On Thu, Apr 28, 2016 at 11:34 PM, bors notifications@github.com wrote:
|
bors
commented
Apr 29, 2016
⌛ Testing commit ac26419 with merge b2bc29d... |
bors
commented
Apr 29, 2016
💔 Test failed - auto-mac-32-opt |
alexcrichton
commented
Apr 29, 2016
@bors: retry On Friday, April 29, 2016, bors notifications@github.com wrote:
|
bors
commented
Apr 29, 2016
resolve: cleanup and groundwork for resolving the AST Cleanup `resolve` and refactor away uses of the hir map (incorrectly named `ast_map`). r? @nrc
Cleanup
resolveand refactor away uses of the hir map (incorrectly namedast_map).r? @nrc