sql-typechecker 0.0.60 → 0.0.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/out/cli.js CHANGED
@@ -242146,7 +242146,7 @@ function elabSelect(g, c, s) {
242146
242146
  fields: fr.type.fields.map((fi) => {
242147
242147
  const foundNullabilityInference = inferredNullability.find((inf) => eqQNames(inf.fromName, fr.name) && inf.fieldName === fi.name?.name);
242148
242148
  if (foundNullabilityInference && isNullable(fi.type)) {
242149
- const t = foundNullabilityInference.isNull === true ? BuiltinTypes.Null : unnullify(fi.type);
242149
+ const t = foundNullabilityInference.isNull === true ? fi.type : unnullify(fi.type);
242150
242150
  return {name: fi.name, type: t, _expr: fi._expr};
242151
242151
  } else {
242152
242152
  return fi;