Skip to content

Commit

Permalink
fix(gnovm): add bug files
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelVallenet committed Sep 26, 2024
1 parent 577c462 commit 26530fc
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
23 changes: 23 additions & 0 deletions bug/bug.gno
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package main

import "fmt"

type Role struct {
name string
permissions []string
users []string
next *Role
prev *Role
}

func main() {
userRole := &Role{
name: "user",
permissions: []string{},
users: []string{},
next: nil,
prev: nil,
}

fmt.Printf("%v", userRole)
}
23 changes: 23 additions & 0 deletions bug/bug.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
package main

import "fmt"

type Role struct {
name string
permissions []string
users []string
next *Role
prev *Role
}

func main() {
userRole := &Role{
name: "user",
permissions: []string{},
users: []string{},
next: nil,
prev: nil,
}

fmt.Printf("%v", userRole)
}

0 comments on commit 26530fc

Please sign in to comment.