test/com/google/javascript/jscomp/FunctionInjectorTest.java
// TODO(nicksantos): Re-enable with side-effect detection.
Re-enable with side-effect detection.
Re - enable with side - effect detection .
@Test
  @Ignore
  public void testInlineReferenceInExpression10() {
    helperInlineReferenceToFunction(
        "/** @nosideeffects */ function foo(a){return true;}; "
            + "function x() {var b; b += 1 + foo(1) }",
        "function foo(a){return true;}; "
            + "function x() {var b;"
            + "{var JSCompiler_inline_result$jscomp$0; "
            + "JSCompiler_inline_result$jscomp$0=true;}"
            + "b += 1 + JSCompiler_inline_result$jscomp$0 }",
        "foo",
        INLINE_BLOCK);
  }
@ Test @ Ignore public void testInlineReferenceInExpression10 ( ) { helperInlineReferenceToFunction ( "/** @nosideeffects */ function foo(a){return true;}; " + "function x() {var b; b += 1 + foo(1) }" , "function foo(a){return true;}; " + "function x() {var b;" + "{var JSCompiler_inline_result$jscomp$0; " + "JSCompiler_inline_result$jscomp$0=true;}" + "b += 1 + JSCompiler_inline_result$jscomp$0 }" , "foo" , INLINE_BLOCK ) ; }
TODO(nicksantos): Re-enable with side-effect detection.
TODO ( nicksantos ) : Re - enable with side - effect detection .
// Call in assignment expression.