Skip to content

#565: expand idiomatic compound name patterns for stdlib#969

Open
nacNAC333 wants to merge 1 commit into
objectionary:masterfrom
nacNAC333:565
Open

#565: expand idiomatic compound name patterns for stdlib#969
nacNAC333 wants to merge 1 commit into
objectionary:masterfrom
nacNAC333:565

Conversation

@nacNAC333

Copy link
Copy Markdown

Fixes #565.

Expands the eo:idiomatic function in compound-name.xsl to recognize additional valid compound patterns from the EO standard library:

  • Prefixes: has-, can-, should-, will- (boolean/capability predicates)
  • Suffixes: -from, -to, -with (relational)
  • Math functions: sin, cos, tan, asin, acos, atan, sqrt, abs, exp, log
  • IO streams: stdin, stdout, stderr
  • Arithmetic: plus, minus, times, divided

These names are legitimate compound attribute names used throughout the standard library and were incorrectly flagged by the lint.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

compound-attribute-name lint doesn't detect bad attribute names in formations

1 participant