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 testInlineWithinCalls2() {
    allowDecomposition = true;
    helperInlineReferenceToFunction(
        "/** @nosideeffects */ function foo(){return true;}; " + "function x() {1 + _g(foo()) }",
        "function foo(){return true;}; "
            + "function x() { {var JSCompiler_inline_result$jscomp$0; "
            + "JSCompiler_inline_result$jscomp$0=true;}"
            + "1 + _g(JSCompiler_inline_result$jscomp$0) }",
        "foo",
        INLINE_BLOCK);
  }
@ Test @ Ignore public void testInlineWithinCalls2 ( ) { allowDecomposition = true ; helperInlineReferenceToFunction ( "/** @nosideeffects */ function foo(){return true;}; " + "function x() {1 + _g(foo()) }" , "function foo(){return true;}; " + "function x() { {var JSCompiler_inline_result$jscomp$0; " + "JSCompiler_inline_result$jscomp$0=true;}" + "1 + _g(JSCompiler_inline_result$jscomp$0) }" , "foo" , INLINE_BLOCK ) ; }
TODO(nicksantos): Re-enable with side-effect detection.
TODO ( nicksantos ) : Re - enable with side - effect detection .