Missing type error for value definitions calling operations, fixes #257