In message <cajv_h0zybgit-rnuugcsn7fox4enj1l0wdcvgccdqn63fxx...@mail.gmail.com>
, Federico Schwindt writes:
>--f46d044402f401155b04fc7df6fc
>Content-Type: text/plain; charset=UTF-8
>
>I was thinking we edit the expression in vcc instead of erroring with
>"Wrong argument type" if formats don't match.
>Allowed conversions would be:
>
>TIME to REAL and INT
>REAL to TIME and INT
>INT to TIME and REAL
>
>I believe it would be relatively easy but do we want it?

The point here is that you have no way to ask for REAL variable
in the first place, so how will you trigger the conversion ?

I'd rather stick with the current (simple) rule that the only
implicit conversions are to STRING, everything else must be
commanded.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
[email protected]         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

_______________________________________________
varnish-dev mailing list
[email protected]
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-dev

Reply via email to