google / cel-go

Fast, portable, non-Turing complete expression evaluation with gradual typing (Go)
https://cel.dev
Apache License 2.0
2.31k stars 225 forks source link

Check for output type agreement during the compile phase #992

Closed TristonianJones closed 3 months ago

TristonianJones commented 3 months ago

Validate that CompiledRule and CompiledMatch output expression types agree.

Closes #973

TristonianJones commented 3 months ago

@l46kok PTAL. I missed a comment and updated nil safety