[Varnish] #1002: [PATCH] VCL doesn't like REAL comparisons.
Varnish
varnish-bugs at varnish-cache.org
Wed Aug 31 16:45:56 CEST 2011
#1002: [PATCH] VCL doesn't like REAL comparisons.
---------------------+------------------------------------------------------
Reporter: drwilco | Type: defect
Status: new | Priority: normal
Milestone: | Component: build
Version: trunk | Severity: normal
Keywords: |
---------------------+------------------------------------------------------
{{{
import std;
...
if (std.random(0,5) < 1.0) {
...
}}}
Results in:
{{{
Message from VCC-compiler:
Operator < not possible on REAL
}}}
--
Ticket URL: <http://www.varnish-cache.org/trac/ticket/1002>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list