sql-typechecker 0.0.35 → 0.0.37

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
@@ -242909,11 +242909,19 @@ function elabCall(g, c, e) {
242909
242909
  throw new InvalidArguments(e, e.function, argTypes);
242910
242910
  }
242911
242911
  }
242912
+ if (eqQNames(e.function, {name: "trim"})) {
242913
+ return unifyOverloadedCall(e, argTypes, [
242914
+ {
242915
+ expectedArgs: [BuiltinTypes.Text],
242916
+ returnT: BuiltinTypes.Text
242917
+ }
242918
+ ]);
242919
+ }
242912
242920
  if (eqQNames(e.function, {name: "generate_series"})) {
242913
242921
  return unifyOverloadedCall(e, argTypes, [
242914
242922
  {
242915
242923
  expectedArgs: [BuiltinTypes.Integer, BuiltinTypes.Integer],
242916
- returnT: BuiltinTypeConstructors.Array(BuiltinTypes.Integer)
242924
+ returnT: BuiltinTypes.Integer
242917
242925
  },
242918
242926
  {
242919
242927
  expectedArgs: [
@@ -242921,7 +242929,7 @@ function elabCall(g, c, e) {
242921
242929
  BuiltinTypes.Integer,
242922
242930
  BuiltinTypes.Integer
242923
242931
  ],
242924
- returnT: BuiltinTypeConstructors.Array(BuiltinTypes.Integer)
242932
+ returnT: BuiltinTypes.Integer
242925
242933
  },
242926
242934
  {
242927
242935
  expectedArgs: [
@@ -242929,7 +242937,7 @@ function elabCall(g, c, e) {
242929
242937
  BuiltinTypes.Timestamp,
242930
242938
  BuiltinTypes.Interval
242931
242939
  ],
242932
- returnT: BuiltinTypeConstructors.Array(BuiltinTypes.Timestamp)
242940
+ returnT: BuiltinTypes.Timestamp
242933
242941
  },
242934
242942
  {
242935
242943
  expectedArgs: [
@@ -242937,7 +242945,7 @@ function elabCall(g, c, e) {
242937
242945
  BuiltinTypes.Date,
242938
242946
  BuiltinTypes.Interval
242939
242947
  ],
242940
- returnT: BuiltinTypeConstructors.Array(BuiltinTypes.Date)
242948
+ returnT: BuiltinTypes.Date
242941
242949
  }
242942
242950
  ]);
242943
242951
  }