No bug - Fix typo in binsource. r=Yoric IRL.
authorJason Orendorff <jorendorff@mozilla.com>
Tue, 17 Apr 2018 12:51:41 +0200
changeset 414092 978eea13c27400155db08ecbb6da65e3155bbc19
parent 414091 a074dcfa9edbbe9d00ad0e5d9df3c48bfb7be84a
child 414093 4eb369e8ad7884a3dd20fe3145f7ad58c42db450
push id33858
push userncsoregi@mozilla.com
push dateTue, 17 Apr 2018 21:55:44 +0000
treeherdermozilla-central@d6eb5597d744 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersYoric
milestone61.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
No bug - Fix typo in binsource. r=Yoric IRL.
js/src/frontend/binsource/src/main.rs
--- a/js/src/frontend/binsource/src/main.rs
+++ b/js/src/frontend/binsource/src/main.rs
@@ -247,17 +247,17 @@ impl GlobalRules {
             hpp_tokens_field_doc,
             per_node,
         }
     }
     fn get(&self, name: &NodeName) -> NodeRules {
         let mut rules = self.per_node.get(name)
             .cloned()
             .unwrap_or_default();
-        if let Some(ref parent) = rule.inherits {
+        if let Some(ref parent) = rules.inherits {
             let NodeRules {
                 inherits: _,
                 type_ok,
                 init,
                 append,
                 by_field,
                 build_result,
             } = self.get(parent);