Ticket #351: Boxes_no_bin_attribute_warning.patch
File Boxes_no_bin_attribute_warning.patch, 0.7 KB (added by nerdzero, 11 years ago) |
---|
-
Source/Boxes.cobra
1422 1422 def _bindInt 1423 1423 # Note that the _baseClass is not told to bindInt. That would fail for classes in other namespaces and it's unnecessary 1424 1424 base._bindInt 1425 if .isDescendantOf(.compiler.attributeType) and not .name.endsWith('Attribute')1425 if not .isFromBinaryLibrary and .isDescendantOf(.compiler.attributeType) and not .name.endsWith('Attribute') 1426 1426 .compiler.warning(this, 'When attributes are declared, they should be suffixed with "Attribute".') 1427 1427 1428 1428 def _badInterfaceError(type as IType) is override