partiql-lang-kotlin
partiql-lang-kotlin copied to clipboard
[inferencer] Static type inferencer should prevent struct constructors from having non-text keys
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