(start, end string)
| 667 | } |
| 668 | |
| 669 | func checkLoopLabels(start, end string) error { |
| 670 | if start == "" && end != "" { |
| 671 | return errors.Newf("end label \"%s\" specified for unlabeled block", end) |
| 672 | } |
| 673 | if end != "" && start != end { |
| 674 | return errors.Newf("end label \"%s\" differs from block's label \"%s\"", end, start) |
| 675 | } |
| 676 | return nil |
| 677 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…