File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
pkg/demoinfocs/sendtables2 Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 88)
99
1010type fpNameTreeCache struct {
11- next map [int ]* fpNameTreeCache
12- cachedValue string
11+ next map [int ]* fpNameTreeCache
12+ name string
1313}
1414
1515type class struct {
@@ -94,11 +94,11 @@ func (c *class) getNameForFieldPath(fp *fieldPath) string {
9494 currentCacheNode = next
9595 }
9696
97- if currentCacheNode .cachedValue == "" {
98- currentCacheNode .cachedValue = strings .Join (c .serializer .getNameForFieldPath (fp , 0 ), "." )
97+ if currentCacheNode .name == "" {
98+ currentCacheNode .name = strings .Join (c .serializer .getNameForFieldPath (fp , 0 ), "." )
9999 }
100100
101- return currentCacheNode .cachedValue
101+ return currentCacheNode .name
102102}
103103
104104func (c * class ) getTypeForFieldPath (fp * fieldPath ) * fieldType {
You can’t perform that action at this time.
0 commit comments