Skip to content

Commit

Permalink
Merge branch 'gnovm-report-indexList-handling-explicitly' of github.c…
Browse files Browse the repository at this point in the history
…om:odeke-em/gno into gnovm-report-indexList-handling-explicitly
  • Loading branch information
thehowl committed Feb 24, 2025
2 parents b031cdb + fd80b68 commit f630ce5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gnovm/tests/files/parse_err1.gno
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,4 @@ func (n *node) foo(targ, wndex int) {
func main() {}

// Error:
// files/parse_indexListExpr.gno:10:6: invalid operation: more than one index
// files/parse_err1.gno:10:6: invalid operation: more than one index
6 changes: 3 additions & 3 deletions gnovm/tests/files/parse_err2.gno
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@ package math
import "testing"

func Add(a, b int) int {
return a + b
return a + b
}

func TestAdd(t *testing.T) {
go Add(1, 1)
go Add(1, 1)
}

// Error:
// files/goroutine_not_supported.gno:12:5: goroutines are not permitted
// files/parse_err2.gno:12:2: goroutines are not permitted

0 comments on commit f630ce5

Please sign in to comment.