()
| 303 | } |
| 304 | |
| 305 | func (a Attribute) validate() error { |
| 306 | if a.Parent { |
| 307 | return newUnsupportedError("parent") |
| 308 | } |
| 309 | switch a.Intrinsic { |
| 310 | case IntrinsicParent: |
| 311 | return newUnsupportedError(fmt.Sprintf("intrinsic (%v)", a.Intrinsic)) |
| 312 | } |
| 313 | |
| 314 | return nil |
| 315 | } |
| 316 | |
| 317 | func (h *Hints) validate() error { |
| 318 | return nil |
nothing calls this directly
no test coverage detected