checkAssignment
assignToConstFun
Fixes #297
The stack overflow reported on this issue has already been fixed. closes #297