Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
thehowl committed Dec 10, 2024
1 parent f83eaa3 commit ca91ef0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gnovm/pkg/gnolang/preprocess.go
Original file line number Diff line number Diff line change
Expand Up @@ -3564,6 +3564,9 @@ func checkOrConvertType(store Store, last BlockNode, x *Expr, t Type, autoNative
checkOrConvertType(store, last, &bx.Left, rt, autoNative)
checkOrConvertType(store, last, &bx.Right, rt, autoNative)
}
// this is not a constant expression; the result here should
// always be a BoolType. (in this scenario, we may have some
// UntypedBoolTypes)
t = BoolType
default:
// do nothing
Expand Down

0 comments on commit ca91ef0

Please sign in to comment.