Value declaration can become path dependent too #SCL-8036 Fixed