aecad icon indicating copy to clipboard operation
aecad copied to clipboard

Do not allow empty interfaces (iface) unless explicitly omitted

Open ceremcem opened this issue 4 years ago • 1 comments

When a footprint class is inherited directly from Footprint class and "has" some other footprints and/or pads, it's likely to be forgotten to declare the @iface. Without @iface, it's not possible to detect unconnected pins.

Proposal

This type of errors should be prevented by requiring user to explicitly declare @iface to a magic value to indicate that it's explicitly left empty.

ceremcem avatar Mar 16 '21 23:03 ceremcem

Note: Proper test case should be added.

ceremcem avatar Mar 17 '21 00:03 ceremcem