diff --git a/vlib/v/vcache/vcache.v b/vlib/v/vcache/vcache.v index aa958460a0..7f5ef0caa5 100644 --- a/vlib/v/vcache/vcache.v +++ b/vlib/v/vcache/vcache.v @@ -66,7 +66,7 @@ pub fn (mut cm CacheManager) set_temporary_options(new_opts []string) { } pub fn (mut cm CacheManager) key2cpath(key string) string { - mut cpath := cm.k2cpath[key] + mut cpath := cm.k2cpath[key] or { '' } if cpath == '' { hk := cm.vopts + key a := hash.sum64_string(hk, 5).hex_full()