[Resolver] declaration condition check/conditional highlighting bug