Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestInstantiateErrors (0.25 sec)

  1. src/cmd/compile/internal/types2/api_test.go

    		}
    		for i := 0; i < counts[0]; i++ {
    			if m0, m1 := methods[0][i], methods[1][i]; m0 != m1 {
    				t.Errorf("mismatching methods for %s: %s vs %s", inst, m0, m1)
    			}
    		}
    	}
    }
    
    func TestInstantiateErrors(t *testing.T) {
    	tests := []struct {
    		src    string // by convention, T must be the type being instantiated
    		targs  []Type
    		wantAt int // -1 indicates no error
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  2. src/go/types/api_test.go

    		}
    		for i := 0; i < counts[0]; i++ {
    			if m0, m1 := methods[0][i], methods[1][i]; m0 != m1 {
    				t.Errorf("mismatching methods for %s: %s vs %s", inst, m0, m1)
    			}
    		}
    	}
    }
    
    func TestInstantiateErrors(t *testing.T) {
    	tests := []struct {
    		src    string // by convention, T must be the type being instantiated
    		targs  []Type
    		wantAt int // -1 indicates no error
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
Back to top