Skip to content

Conversation

@wilzbach
Copy link
Contributor

  • remove empty statement - e.g. struct {};
  • change infinite empty property functions to enum
  • removed unnecessary parenthesis
  • removed implicit string concatenation
  • replaced enum with static immutable for arrays and immutable for dicts

@JackStouffer
Copy link
Contributor

LGTM

@DmitryOlshansky
Copy link
Member

Auto-merge toggled on

@DmitryOlshansky DmitryOlshansky merged commit 06ff141 into dlang:master Apr 27, 2016
}

@property empty(){ return false; }
@property enum empty = false;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't be @property then.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

See #4250 ;-)

@wilzbach wilzbach deleted the style_fixes branch April 27, 2016 09:46
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.

4 participants