Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
omarsy committed Jul 28, 2024
1 parent 6f158d6 commit 10c7aaa
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions gnovm/pkg/gnolang/preprocess.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,6 @@ func Preprocess(store Store, ctx BlockNode, n Node) Node {
switch n := n.(type) {
// TRANS_ENTER -----------------------
case *AssignStmt:

checkValDefineMismatch(n)

if n.Op == DEFINE {
Expand All @@ -448,8 +447,6 @@ func Preprocess(store Store, ctx BlockNode, n Node) Node {
} else {
// nothing defined.
}


// TRANS_ENTER -----------------------
case *ImportDecl, *ValueDecl, *TypeDecl, *FuncDecl:
// NOTE func decl usually must happen with a
Expand Down

0 comments on commit 10c7aaa

Please sign in to comment.