partiql-lang-kotlin icon indicating copy to clipboard operation
partiql-lang-kotlin copied to clipboard

[inferencer] Static type inferencer should prevent struct constructors from having non-text keys

Open alancai98 opened this issue 3 years ago • 0 comments

Static type inferencer should give an error when struct constructors include non-text keys. Evaluation-side is tracked in #355.

See tests in StaticTypeInferenceVisitorTransformTest that should give an error: https://github.com/partiql/partiql-lang-kotlin/blob/fb7992468158d947557dc979f48a5f41ce83aa43/lang/test/org/partiql/lang/eval/visitors/StaticTypeInferenceVisitorTransformTest.kt#L4412

alancai98 avatar Jan 26 '22 00:01 alancai98