|
From: | dak |
Subject: | Re: report a programming error when trying to align on empty parent (issue 7533046) |
Date: | Thu, 21 Mar 2013 06:57:46 +0000 |
https://codereview.appspot.com/7533046/diff/3001/lily/self-alignment-interface.cc File lily/self-alignment-interface.cc (right): https://codereview.appspot.com/7533046/diff/3001/lily/self-alignment-interface.cc#newcode63 lily/self-alignment-interface.cc:63: programming_error ("cannot align on self: empty element"); "cannot align on self: empty element" seems like a nonsensical message. An empty element is more or less by definition aligned to anything. If you want to flag problems, it might make more sense to address them in those callers that depend on non-emptiness than here. https://codereview.appspot.com/7533046/
[Prev in Thread] | Current Thread | [Next in Thread] |