small change: re-use taskdef resolution field to skip one function call