test/com/google/javascript/jscomp/TypeCheckTest.java
/**
   * Tests the type of a function definition. The function defined by
   * {@code functionDef} should be named {@code functionName}.
   */
Tests the type of a function definition. The function defined by
functionDef should be named  functionName.
Tests the type of a function definition . The function defined by functionDef should be named functionName .
private void testFunctionType(String functionDef, String functionName,
      String functionType) {
    testTypes(
        functionDef +
        "/** @type {number} */var a=" + functionName + ";",
        "initializing variable\n" +
        "found   : " + functionType + "\n" +
        "required: number");
  }
private void testFunctionType ( String functionDef , String functionName , String functionType ) { testTypes ( functionDef + "/** @type {number} */var a=" + functionName + ";" , "initializing variable\n" + "found   : " + functionType + "\n" + "required: number" ) ; }
Tests the type of a function definition.
Tests the type of a function definition .
// using the variable initialization check to verify the function's type