(offset int32)
| 461 | } |
| 462 | |
| 463 | func (src *mockSource) OffsetLocation(offset int32) (common.Location, bool) { |
| 464 | if offset == 0 { |
| 465 | return src.baseLocation, true |
| 466 | } |
| 467 | return src.Source.OffsetLocation(offset) |
| 468 | } |
| 469 | |
| 470 | func TestSourceInfoRenumberIDs(t *testing.T) { |
| 471 | info := ast.NewSourceInfo(nil) |
nothing calls this directly
no test coverage detected