Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 51 of 51 for typeOff (0.65 sec)

  1. src/go/types/api_test.go

    					fset.Position(comment.Pos()), comment.Text)
    				continue
    			}
    			got := "undef"
    			if _, obj := inner.LookupParent(name, comment.Pos()); obj != nil {
    				kind := strings.ToLower(strings.TrimPrefix(reflect.TypeOf(obj).String(), "*types."))
    				got = fmt.Sprintf("%s:%d", kind, fset.Position(obj.Pos()).Line)
    			}
    			if got != want {
    				t.Errorf("%s: at %s: %s resolved to %s, want %s",
    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