| changeset 154 | a85a0303bcb8 |
| parent 153 | fc91c4a3dfe2 |
| child 159 | d515dceb12f9 |
1.1 --- a/src/SemanticAnalysis.cpp Sat Aug 04 23:58:23 2012 -0700 1.2 +++ b/src/SemanticAnalysis.cpp Sun Aug 05 00:31:20 2012 -0700 1.3 @@ -379,10 +379,10 @@ 1.4 if (!type) 1.5 return NULL; 1.6 1.7 - if (type->isConst()) { 1.8 - cc_.reportError(expression->pos(), Message_ReferenceIsConstant); 1.9 - return NULL; 1.10 - } 1.11 + // if (type->isConst()) { 1.12 + // cc_.reportError(expression->pos(), Message_ReferenceIsConstant); 1.13 + // return NULL; 1.14 + // } 1.15 1.16 return type; 1.17 }