message: Fix
  process.env['X'] is now supported
diff: @@ -59,11 +59,16 @@ impl Fold<Expr> for InlineGlobals {
  })),
  prop,
  computed,
  - }) => match *prop {
  - Expr::Ident(Ident { ref sym, .. }) => {
  + }) => {
  + match *prop {
  + Expr::Lit(Lit::Str(Str { value: ref sym, .. }))
  + | Expr::Ident(Ident { ref sym, .. }) => {
  if let Some(env) = self.envs.get(sym) {
  return env.clone();
  }
  + }
  + _ => {}
  + }
  return Expr::Member(MemberExpr {
  span,
  obj: ExprOrSuper::Expr(box Expr::Member(MemberExpr {
  @@ -79,8 +84,6 @@ impl Fold<Expr> for InlineGlobals {
  computed,
  });
  }
  - _ => unimplemented!("node.env.NONE-IDENT"),
  - },
  _ => expr,
  }
  }
  @@ -178,4 +181,26 @@ mod tests {
  r#"if (foo.debug) {}"#,
  r#"if (foo.debug) {}"#
  );
  +
  + test!(
  + Default::default(),
  + |tester| InlineGlobals {
  + envs: envs(tester, &[]),
  + globals: globals(tester, &[]),
  + },
  + issue_417_1,
  + "const test = process.env['x']",
  + "const test = process.env['x']"
  + );
  +
  + test!(
  + Default::default(),
  + |tester| InlineGlobals {
  + envs: envs(tester, &[("x", "FOO")]),
  + globals: globals(tester, &[]),
  + },
  + issue_417_2,
  + "const test = process.env['x']",
  + "const test = 'FOO'"
  + );
  }
  