draperlaboratory / hope-policy-tool

Policy language tools
Other
0 stars 0 forks source link

ctx->cached bad default error #24

Open ccasin opened 5 years ago

ccasin commented 5 years ago

The policy evaluation function should explicitly set ctx->cached in both the "do cache" and "don't cache" cases. The current version relies on the caller to have set "ctx->cached" to true before the call, which may not be the case.