Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
compile: silence staticcheck
Signed-off-by: Sebastien Binet <binet@cern.ch>
  • Loading branch information
sbinet committed May 5, 2022
commit 01af0fecf70d154deea89a9238dc4a31767f9721
1 change: 1 addition & 0 deletions compile/compile.go
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,7 @@ func (c *compiler) Stmt(stmt ast.Stmt) {
l := c.loops.Top()
if l == nil {
c.panicSyntaxErrorf(node, loopError)
panic("impossible")
}
switch l.Type {
case loopLoop:
Expand Down