Skip to content

Commit

Permalink
Update gnovm/pkg/gnolang/preprocess.go
Browse files Browse the repository at this point in the history
Co-authored-by: deelawn <dboltz03@gmail.com>
  • Loading branch information
ltzmaxwell and deelawn committed Aug 8, 2024
1 parent 64fb685 commit 559564d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gnovm/pkg/gnolang/preprocess.go
Original file line number Diff line number Diff line change
Expand Up @@ -2912,7 +2912,7 @@ func assertTypeDeclNoCycle(store Store, last BlockNode, td *TypeDecl, stack *[]N

func assertTypeDeclNoCycle2(store Store, last BlockNode, x Expr, stack *[]Name, indirect bool, isAlias bool) {
if x == nil {
panic("should not happen")
panic("unexpected nil expression when checking for type declaration cycles")
}

var lastX Expr
Expand Down

0 comments on commit 559564d

Please sign in to comment.