(offset int32)
| 451 | } |
| 452 | |
| 453 | func (src *mockSource) OffsetLocation(offset int32) (common.Location, bool) { |
| 454 | if offset == 0 { |
| 455 | return src.baseLocation, true |
| 456 | } |
| 457 | return src.Source.OffsetLocation(offset) |
| 458 | } |
| 459 | |
| 460 | func TestSourceInfoRenumberIDs(t *testing.T) { |
| 461 | info := ast.NewSourceInfo(nil) |
nothing calls this directly
no test coverage detected