HasViolations indicates whether this TypeCheck contains any violations.
()
| 44 | |
| 45 | // HasViolations indicates whether this TypeCheck contains any violations. |
| 46 | func (tc *TypeCheck) HasViolations() bool { |
| 47 | return len(tc.Violations) > 0 |
| 48 | } |
| 49 | |
| 50 | func newTypeChecker() *typeChecker { |
| 51 | return &typeChecker{chk: &TypeCheck{}} |
no outgoing calls
no test coverage detected