types: take into account arguments number when resolving functions
commit503f17003341ece31750197f684f2a0ad4a518da
authorygrek <ygrek@autistici.org>
Wed, 25 Apr 2018 07:10:28 +0000 (25 00:10 -0700)
committerygrek <ygrek@autistici.org>
Wed, 25 Apr 2018 07:10:28 +0000 (25 00:10 -0700)
treed7c504849e35c23dc379748d9ced4b162f5af66b
parent5ef7b1af1b0e72dc582cbd8261ab29128efa396d
types: take into account arguments number when resolving functions

support sqlite-style multi-argument max (aka greatest)
lib/sql.ml
lib/sql_parser.mly
lib/syntax.ml
src/test.ml