test/com/google/javascript/jscomp/TypeCheckTest.java
/**
   * Currently, the structural interface matching does not support structural matching for template
   * types Using @template @interfaces requires @implements them explicitly.
   */
Currently, the structural interface matching does not support structural matching for template
types Using @template @interfaces requires @implements them explicitly.
Currently the structural interface matching does not support structural matching for template types Using @template @interfaces requires @implements them explicitly .
@Test
  public void testStructuralInterfaceMatching45() {
    testTypes(
        lines(
            "/**",
            " * @record",
            " * @template X",
            " */",
            "function I() {}",
            "/** @constructor */",
            "function C() {}",
            "var /** !I */ i = new C;"));
  }
@ Test public void testStructuralInterfaceMatching45 ( ) { testTypes ( lines ( "/**" , " * @record" , " * @template X" , " */" , "function I() {}" , "/** @constructor */" , "function C() {}" , "var /** !I */ i = new C;" ) ) ; }
Currently, the structural interface matching does not support structural matching for template
 types Using @template @interfaces requires @implements them explicitly.
Currently the structural interface matching does not support structural matching for template types Using @template @interfaces requires @implements them explicitly .