Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/fix/maxwell/2008' into fix/maxwe…
Browse files Browse the repository at this point in the history
…ll/2008
  • Loading branch information
ltzmaxwell committed Aug 15, 2024
2 parents 9e76e22 + 559564d commit 284805f
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")

Check warning on line 2915 in gnovm/pkg/gnolang/preprocess.go

View check run for this annotation

Codecov / codecov/patch

gnovm/pkg/gnolang/preprocess.go#L2915

Added line #L2915 was not covered by tests
}

var lastX Expr
Expand Down

0 comments on commit 284805f

Please sign in to comment.