test/com/google/javascript/jscomp/TypeCheckTest.java
/**
   * Tests that the || operator is type checked correctly, that is of the type of the first argument
   * or of the second argument. See bugid 592170 for more details.
   */
Tests that the || operator is type checked correctly, that is of the type of the first argument
or of the second argument. See bugid 592170 for more details.
Tests that the || operator is type checked correctly that is of the type of the first argument or of the second argument . See bugid 592170 for more details .
@Test
  public void testBug592170() {
    testTypes(
        "/** @param {Function} opt_f ... */" +
        "function foo(opt_f) {" +
        "  /** @type {Function} */" +
        "  return opt_f || function() {};" +
        "}");
  }
@ Test public void testBug592170 ( ) { testTypes ( "/** @param {Function} opt_f ... */" + "function foo(opt_f) {" + "  /** @type {Function} */" + "  return opt_f || function() {};" + "}" ) ; }
Tests that the || operator is type checked correctly, that is of the type of the first argument
 or of the second argument.
Tests that the || operator is type checked correctly that is of the type of the first argument or of the second argument .