google / cel-spec

Common Expression Language -- specification and binary representation
https://cel.dev
Apache License 2.0
2.78k stars 222 forks source link

Disable typecheck for null < x conformance test #196

Closed jsannemo closed 3 years ago

jsannemo commented 3 years ago

In the spec there is no overload that could match null < x, so implementations should be allowed to fail type checking for this.

Cel-go doesn't, because it considers well-known types nullable, so e.g the overload timestamp < timestamp matches this at type-checking (but not at run-time).

TristonianJones commented 3 years ago

/gcbrun