- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for originObject (0.2 sec)
-
src/cmd/compile/internal/types2/api_test.go
} ident := idents[test.name][0] def := info.Defs[ident] if def == test.obj { t.Fatalf("info.Defs[%s] contains the test object", test.name) } if orig := originObject(test.obj); def != orig { t.Errorf("info.Defs[%s] does not match obj.Origin()", test.name) } if def.Pkg() != test.obj.Pkg() { t.Errorf("Pkg() = %v, want %v", def.Pkg(), test.obj.Pkg()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 20:08:23 UTC 2024 - 93.3K bytes - Viewed (0) -
src/go/types/api_test.go
} ident := idents[test.name][0] def := info.Defs[ident] if def == test.obj { t.Fatalf("info.Defs[%s] contains the test object", test.name) } if orig := originObject(test.obj); def != orig { t.Errorf("info.Defs[%s] does not match obj.Origin()", test.name) } if def.Pkg() != test.obj.Pkg() { t.Errorf("Pkg() = %v, want %v", def.Pkg(), test.obj.Pkg()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 94.2K bytes - Viewed (0)