Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

x/tools/go/ssa/interp: panic: no code for function: (reflect.Value).MapRange #27174

Open
bradfitz opened this issue Aug 23, 2018 · 0 comments
Open
Labels
NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure. Tools This label describes issues relating to any tools in the x/tools repository.
Milestone

Comments

@bradfitz
Copy link
Contributor

These brittle tests break again:

Input: boundmeth.go
PASS
Input: complit.go
panic: no code for function: (reflect.Value).MapRange
FAIL
To trace execution, run:
% go build golang.org/x/tools/cmd/ssadump && ./ssadump -build=C -test -run --interp=T complit.go

Input: coverage.go
PASS
Input: defer.go
PASS
Input: fieldprom.go
PASS
Input: ifaceconv.go
PASS
Input: ifaceprom.go
PASS
Input: initorder.go
PASS
Input: methprom.go
PASS
Input: mrvchain.go
PASS
Input: range.go
PASS
Input: recover.go
PASS
Input: reflect.go
PASS
Input: static.go
PASS
Input: callstack.go
PASS
The following tests failed:
	complit.go
--- FAIL: TestTestdataFiles (24.76s)
    interp_test.go:235: interp.Interpret([testdata/complit.go]) failed: exit code was 2
FAIL
FAIL	golang.org/x/tools/go/ssa/interp	25.796s
@bradfitz bradfitz added Testing An issue that has been verified to require only test changes, not just a test failure. NeedsFix The path to resolution is known, but the work has not been done. labels Aug 23, 2018
@bradfitz bradfitz added this to the Go1.12 milestone Aug 23, 2018
@andybons andybons modified the milestones: Go1.12, Go1.13 Feb 12, 2019
@andybons andybons modified the milestones: Go1.13, Go1.14 Jul 8, 2019
@gopherbot gopherbot added the Tools This label describes issues relating to any tools in the x/tools repository. label Sep 12, 2019
@rsc rsc modified the milestones: Go1.14, Backlog Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsFix The path to resolution is known, but the work has not been done. Testing An issue that has been verified to require only test changes, not just a test failure. Tools This label describes issues relating to any tools in the x/tools repository.
Projects
None yet
Development

No branches or pull requests

5 participants