TO0302 - npruehs/tome-editor GitHub Wiki
"The type ... is defined but never used."
Summary
- Name: TypeIsNeverUsed
- Code: TO302
- Category: Redundant Model
- Severity: Warning
- Since: 0.9
Each field is either of any built-in type or any custom type. Custom types that aren't used by any field will never have any effect.
Example
The following steps generate this type of error:
- Add a custom type.
- Add one or more fields of that custom type.
- Remove all fields using the custom type again.
How To Fix
Either
- add any field of the custom type, or
- remove the custom type.