From a747651f189701d047e76abe52626760d89fac69 Mon Sep 17 00:00:00 2001 From: Delyan Angelov Date: Wed, 7 Apr 2021 19:13:05 +0300 Subject: [PATCH] v.vcache: another workaround for a tcc arm64 runtime bug --- vlib/v/vcache/vcache.v | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/vlib/v/vcache/vcache.v b/vlib/v/vcache/vcache.v index 7f5ef0caa5..cb26db8289 100644 --- a/vlib/v/vcache/vcache.v +++ b/vlib/v/vcache/vcache.v @@ -90,7 +90,9 @@ pub fn (mut cm CacheManager) key2cpath(key string) string { } pub fn (mut cm CacheManager) postfix_with_key2cpath(postfix string, key string) string { - return cm.key2cpath(key) + postfix + prefix := cm.key2cpath(key) + res := prefix + postfix + return res } pub fn (mut cm CacheManager) exists(postfix string, key string) ?string {