ssa: panic with runtime type assertion errors#1892
Conversation
|
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
|
Update for latest interface/nointerface coverage (head c9e354c): Scope:
GOROOT xfails removed after targeted local verification:
Coverage:
Local tests:
Not covered here:
|
|
Update for commit 64ae33c:\n\n- Added reflect/interface type identity coverage for reflect.Type.Method and MethodByName: Method.Func.Interface() now asserts to and calls func(*T) / func(T) using the canonical LLGo closure-backed function type.\n- Fixed reflect.Type interface invokes to request method ABI type initialization, included closure ABI symbols for reflect method FuncOf lookup, and boxed Type.Method Func values as LLGo closure values while preserving public reflect Type identity.\n- recover.go classification: without #1882 it still stops at the existing recover-frame failure (spurious recover). With #1882's recover-frame fix layered locally, the previous func(*T1) vs func(*T1) type identity failure is gone; the next observed failure is missing recover 10, which is recover semantics and intentionally not covered here. No recover.go xfail removed.\n- Local tests: go test ./test/go -count=1; go run ./cmd/llgo test -run TestReflectTypeMethodFuncInterfaceTypeIdentity -count=1 ./test/go; go test ./ssa -count=1; go test ./cl -count=1; go test ./internal/build -count=1; focused goroot recover.go with existing xfail passed. |
|
Coverage update for
Focused local validation:
|
Summary
Testing
go env GOROOT= /opt/homebrew/Cellar/go@1.24/1.24.11/libexec). Normal PR CI should still run from the fork branch.\n\nA non-targeted localLLGO_ROOT="$PWD" go run -tags=dev ./cmd/llgo test ./test/gorun reached test execution but failed on darwin temp-dir cleanup withoperation not permittedin existing temp-dir cleanup paths; the focused interface assertion llgo test above passed.