From 20f4ccde96de05cdbd330e6bbb94af363bef486a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Thu, 10 Feb 2011 23:00:36 -0500 Subject: Added some debug code --- src/value.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/value.h') diff --git a/src/value.h b/src/value.h index 6fe24da6..1176ad09 100644 --- a/src/value.h +++ b/src/value.h @@ -901,16 +901,20 @@ public: } sequence_t::iterator begin() { + VERIFY(is_sequence()); return as_sequence_lval().begin(); } sequence_t::iterator end() { + VERIFY(is_sequence()); return as_sequence_lval().end(); } sequence_t::const_iterator begin() const { + VERIFY(is_sequence()); return as_sequence().begin(); } sequence_t::const_iterator end() const { + VERIFY(is_sequence()); return as_sequence().end(); } -- cgit v1.2.3