Troubleshooting a current.@rowcode.InRange expression

The function below worked previously but now It is not working. How can I identify the issue? I am not sure where to find current.@rowcode.InRange.

//@current.@rowcode.InRange(1,9) ? 0+ dwellinglist.@rowcode :
@rowcode + 1

Below you are showing an expression. An expression is not the same as a function. Hence it is, imho, impossible to infer reliably what you are asking about. For example, InRange() is a function. To check if it is working, it is sufficient to apply that function to a numeric question and check the result. Larger expression may fail for a syntax error reason (your error).

When specifically? Date? Version?

And what error message are you getting?

Show your questionnaire where the problem is reproducible. Syntax can only be validated against a specific questionnaire, since the compilation result depends on the exact types of all the variables involved and placement of the expression in the questionnaire (where - filtering expression? validation expression? etc and at which level - main, in a roster, in a nested roster).