Skip to content

Fix uses of ValidationState_t::EvalInt32IfConst #2133

@alan-baker

Description

@alan-baker

The function evaluates OpSpecConstant* incorrectly. Uses of this function need to be evaluated, but in general it should return that this is a constant we can evaluate. Some uses will allow an OpSpecConstant, but some should not.

This is used throughout the validator.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions