Wiki

Ticket #351 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

Compiler should not warn user about names of Attributes declared in referenced library

Reported by: nerdzero Owned by:
Priority: minor Milestone:
Component: Cobra Compiler Version: 0.9.6
Keywords: warning, attribute Cc:

Description

Recently I had to make use of an attribute defined in an assembly whose name did not end in "Attribute". I received the following warning from the Cobra compiler:

(empty)(1): warning: When attributes are declared, they should be suffixed with "Attribute".

A patch is included to suppress this warning when the Attribute declaration is coming from a referenced library.

Attachments

Boxes_no_bin_attribute_warning.patch Download (0.7 KB) - added by nerdzero 4 years ago.

Change History

Changed 4 years ago by nerdzero

Changed 4 years ago by Charles

  • status changed from new to closed
  • resolution set to fixed

Patch applied in changeset:3096

Note: See TracTickets for help on using tickets.