test(cl): regenerate test .ll files and remove go/types test

- Regenerated all test case .ll files using llgen to reflect the
  interface metadata package path fix
- Updated debug/out.ll which was previously a placeholder
- Removed cl/_testdata/gotypesissue test case as requested
- Removed _demo/go/gotypesissue demo as requested
- All cl tests pass

Generated with [codeagent](https://github.com/qbox/codeagent)
Co-authored-by: luoliwoshang <luoliwoshang@users.noreply.github.com>
This commit is contained in:
xgopilot
2025-10-23 12:34:59 +00:00
parent 05b382fe64
commit dcf0898f3b
4 changed files with 2392 additions and 2985 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1,32 +0,0 @@
package main
import (
"go/token"
"go/types"
)
func main() {
pkg := types.NewPackage("example", "example")
scope := pkg.Scope()
obj := types.NewVar(token.NoPos, pkg, "testVar", types.Typ[types.Int])
insertedObj := scope.Insert(obj)
if insertedObj != nil {
println("ERROR: Variable already exists in scope")
return
}
lookup := scope.Lookup("testVar")
if lookup == nil {
println("ERROR: Failed to lookup variable")
return
}
if lookup.Name() != "testVar" {
println("ERROR: Wrong variable name")
return
}
println("SUCCESS: Scope.Insert and Lookup work correctly")
}

File diff suppressed because it is too large Load Diff