From b00eaff5fa2db54633cdb28e397d06c2df6e0a5d Mon Sep 17 00:00:00 2001 From: "John Hodge (sonata)" Date: Thu, 22 Jan 2015 16:29:47 +0800 Subject: Oops, bad logic, fixed (! in assert) --- src/types.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/types.cpp b/src/types.cpp index d7c70a1e..58d820f5 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -40,13 +40,13 @@ void TypeRef::merge_with(const TypeRef& other) { // Ignore if other is wildcard if( other.m_class == TypeRef::ANY ) { - assert(other.m_inner_types.size() == 0 && !"TODO: merge_with on bounded _"); + assert(other.m_inner_types.size() == 0 && "TODO: merge_with on bounded _"); return; } // If this is a wildcard, then replace with the othet type if( m_class == TypeRef::ANY ) { - assert(m_inner_types.size() == 0 && !"TODO: merge_with on bounded _"); + assert(m_inner_types.size() == 0 && "TODO: merge_with on bounded _"); *this = other; return; } -- cgit v1.2.3