Files
llgo/cl
xgopilot 1ba7d1e561 fix: change to isStringPtrType for global string var
- Replace isStringType with isStringPtrType to properly validate that only *string type variables can be rewritten with -ldflags -X
- Remove maxStringTypeDepth constant as it's no longer needed
- Update tests to reflect the new function name and add test case for valid *string type
- Fix compileGlobal to use gbl.Type() for accurate type checking

This addresses the review feedback that Go only allows -X rewrites for the basic string type, not derived types like "type T string".

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: cpunion <8459+cpunion@users.noreply.github.com>
2025-11-14 14:38:46 +00:00
..
2025-04-26 22:23:36 +08:00
2025-08-12 09:46:03 +08:00
2025-04-03 16:26:11 +08:00
2025-09-28 09:20:50 +08:00
2025-04-26 22:23:36 +08:00
2025-06-23 21:14:26 +08:00
2025-08-21 23:44:46 +08:00
2025-04-03 16:26:11 +08:00
2025-09-28 09:20:50 +08:00
2025-09-28 09:20:50 +08:00