Skip to content

Conversation

@JackStouffer
Copy link
Contributor

This is a continuation of #4568 and #4573

assert(
low <= high,
"Attempting to slice a cache with a larger first argument than the second"
);
Copy link
Member

Choose a reason for hiding this comment

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

Four lines is really overdoing it. Also the message is prolix.

assert(low <= high, "Bounds error in cache slicing.");

Also you need to decide whether you always end with the period or not (you did so far).

@JackStouffer JackStouffer force-pushed the algorithm_assert_messages branch from b5620b0 to c9222e1 Compare July 14, 2016 17:16
@JackStouffer
Copy link
Contributor Author

@andralex Fixed

@quickfur
Copy link
Member

LGTM. Thanks!

@quickfur
Copy link
Member

Auto-merge toggled on

@quickfur quickfur merged commit 4c94b20 into dlang:master Jul 15, 2016
@JackStouffer JackStouffer deleted the algorithm_assert_messages branch May 22, 2017 17:23
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.

3 participants