8000 compile: silence staticcheck · go-python/gpython@01af0fe · GitHub
[go: up one dir, main page]

Skip to content

Commit 01af0fe

Browse files
committed
compile: silence staticcheck
Signed-off-by: Sebastien Binet <binet@cern.ch>
1 parent 26a38d3 commit 01af0fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

compile/compile.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1207,6 +1207,7 @@ func (c *compiler) Stmt(stmt ast.Stmt) {
12071207
l := c.loops.Top()
12081208
if l == nil {
12091209
c.panicSyntaxErrorf(node, loopError)
1210+
panic("impossible")
12101211
}
12111212
switch l.Type {
12121213
case loopLoop:

0 commit comments

Comments
 (0)
0