src/Interpreter.cpp
changeset 156 0d28dc5af6c7
parent 155 7926a7921fa3
child 157 b760e8cb29a8
     1.1 --- a/src/Interpreter.cpp	Sun Aug 05 00:45:06 2012 -0700
     1.2 +++ b/src/Interpreter.cpp	Sun Aug 05 00:49:31 2012 -0700
     1.3 @@ -109,8 +109,8 @@
     1.4                  return false;
     1.5          }
     1.6      } else {
     1.7 -        assert(source->type()->pod() == dest->type()->pod());
     1.8 -        assert(source->type()->pod() == PrimitiveType_Char
     1.9 +        assert(source->type()->contained()->pod() == dest->type()->contained()->pod());
    1.10 +        assert(source->type()->contained()->pod() == PrimitiveType_Char
    1.11                 ? source->length() >= dest->length()
    1.12                 : source->length() == dest->length());
    1.13