Log rather than yyerror on non-scalar comments in ExpandDeRefPromise
Do not evaluate class excluded constraints in ExpandDeRefPromise
Eliminate unnecessary calls to IsDefinedClass and VarClassExcluded