We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In module github.com/zephyrtronium/xirho, running rf 'ex { System -> *System }' panics:
rf 'ex { System -> *System }'
panic executing: ex { System -> *System } panic: needParen outer *ast.MapType [recovered] panic: needParen outer *ast.MapType goroutine 1 [running]: main.run.func1(0xc0043d7ed0) /home/zephyr/go/src/rsc.io/rf/rf.go:74 +0xe8 panic(0x670020, 0xc00c3bbae0) /usr/local/go/src/runtime/panic.go:969 +0x1b9 main.needParen(0x713c60, 0xc00c377a00, 0xc0036d0590, 0x7, 0x7, 0xc00c3e03c0) /home/zephyr/go/src/rsc.io/rf/ex.go:748 +0x8df main.(*matcher).applySubst(0xc003657800, 0x713c60, 0xc00c377a00, 0xc0036d0590, 0x7, 0x7, 0xc00bab73b0, 0x1, 0x713fa0, 0xc00bae9270) /home/zephyr/go/src/rsc.io/rf/ex.go:701 +0x2dd main.(*exArgs).run.func1(0xc0036d0590, 0x7, 0x7) /home/zephyr/go/src/rsc.io/rf/ex.go:534 +0x506 rsc.io/rf/refactor.walkRange.func1(0x0, 0x0, 0x649c01) /home/zephyr/go/src/rsc.io/rf/refactor/syntax.go:178 +0xb0 go/ast.inspector.Visit(0xc00c3e0340, 0x0, 0x0, 0x7129c0, 0xc00c3e0340) /usr/local/go/src/go/ast/walk.go:373 +0x3a go/ast.Walk(0x7129c0, 0xc00c3e0340, 0x713820, 0xc0036269e0) /usr/local/go/src/go/ast/walk.go:367 +0x189 go/ast.Walk(0x7129c0, 0xc00c3e0340, 0x713a20, 0xc003624fc0) /usr/local/go/src/go/ast/walk.go:176 +0x1565 go/ast.Walk(0x7129c0, 0xc00c3e0340, 0x713460, 0xc00362abc0) /usr/local/go/src/go/ast/walk.go:102 +0x43a go/ast.walkExprList(0x7129c0, 0xc00c3e0340, 0xc003621090, 0x1, 0x1) /usr/local/go/src/go/ast/walk.go:26 +0x9e go/ast.Walk(0x7129c0, 0xc00c3e0340, 0x7130e0, 0xc00362ac00) /usr/local/go/src/go/ast/walk.go:207 +0x1ebe go/ast.walkStmtList(0x7129c0, 0xc00c3e0340, 0xc003627c60, 0x2, 0x2) /usr/local/go/src/go/ast/walk.go:32 +0x9e go/ast.Walk(0x7129c0, 0xc00c3e0340, 0x713260, 0xc003625c50) /usr/local/go/src/go/ast/walk.go:224 +0x18e5 go/ast.Walk(0x7129c0, 0xc00c3e0340, 0x7136e0, 0xc003625c80) /usr/local/go/src/go/ast/walk.go:344 +0xcbf go/ast.walkDeclList(0x7129c0, 0xc00c3e0340, 0xc0035db180, 0x7, 0x8) /usr/local/go/src/go/ast/walk.go:38 +0x9e go/ast.Walk(0x7129c0, 0xc00c3e0340, 0x713660, 0xc0035db400) /usr/local/go/src/go/ast/walk.go:353 +0x2346 go/ast.Inspect(...) /usr/local/go/src/go/ast/walk.go:385 rsc.io/rf/refactor.walkRange(0x713660, 0xc0035db400, 0x0, 0x7fffffffffffffff, 0xc00c3d3e00, 0xc00c3dc540) /home/zephyr/go/src/rsc.io/rf/refactor/syntax.go:175 +0x135 rsc.io/rf/refactor.WalkPost(...) /home/zephyr/go/src/rsc.io/rf/refactor/syntax.go:154 main.(*exArgs).run(0xc00bf30f30) /home/zephyr/go/src/rsc.io/rf/ex.go:468 +0x25d main.cmdEx(0xc00014a2a0, 0xc0000165c3, 0x15) /home/zephyr/go/src/rsc.io/rf/ex.go:54 +0x16c main.run(0xc000062360, 0x7ffe33e8b09a, 0x18, 0x0, 0x0) /home/zephyr/go/src/rsc.io/rf/rf.go:131 +0x331 main.main() /home/zephyr/go/src/rsc.io/rf/rf.go:44 +0x1b4
The text was updated successfully, but these errors were encountered:
89c25ec
mdempsky
No branches or pull requests
In module github.com/zephyrtronium/xirho, running
rf 'ex { System -> *System }'
panics:The text was updated successfully, but these errors were encountered: