Wiki

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

     
    14221422    def _bindInt 
    14231423        # Note that the _baseClass is not told to bindInt. That would fail for classes in other namespaces and it's unnecessary 
    14241424        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') 
    14261426            .compiler.warning(this, 'When attributes are declared, they should be suffixed with "Attribute".') 
    14271427 
    14281428    def _badInterfaceError(type as IType) is override