var/test = /test_datum{variable=/test/path}
Problem description:
I make use of the modified types notation quite a bit. Sometimes, upon making a change to a project, i.e. copy/pasting code from one file to another, an error pointing to a random modified type will show up on compilation: bad constant.
The error only occurs in regard to variables which have been set to a type path (e.g. bad constant: /test/path). The error goes away if the change that preceded it is reversed. The changes have nothing to do with the type paths themselves, or affect them in any way.
Is there some kind of limitation I'm hitting in regards to modified types? Some clarification of what the error means would be great.