Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestIssue28005 (2.28 sec)

  1. src/go/types/issues_test.go

    					if got := tv.Type.(*Struct).NumFields(); got != want {
    						t.Errorf("%s: got %d fields; want %d", src, got, want)
    					}
    				}
    			}
    			return true
    		})
    	}
    }
    
    func TestIssue28005(t *testing.T) {
    	// method names must match defining interface name for this test
    	// (see last comment in this function)
    	sources := [...]string{
    		"package p; type A interface{ A() }",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types2/issues_test.go

    					if got := tv.Type.(*Struct).NumFields(); got != want {
    						t.Errorf("%s: got %d fields; want %d", src, got, want)
    					}
    				}
    			}
    			return true
    		})
    	}
    }
    
    func TestIssue28005(t *testing.T) {
    	// method names must match defining interface name for this test
    	// (see last comment in this function)
    	sources := [...]string{
    		"package p; type A interface{ A() }",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
Back to top