You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./prog.go:491:7: undefined: recordFDDDDDDDDound
./prog.go:502:20: undefined: targ
./prog.go:502:26: invalid operation: more than one index
./prog.go:607:23: invalid operation: cannot take address of !n.records[i].Less(start) (value of type bool)
The text was updated successfully, but these errors were encountered:
…nrecognized for Gno
The *ast.IndexListExpr is used for generics but in assignment operations
it is illegal to use. This change returns a proper error and matches
Go's output.
Also *ast.GoStmt is for spawning Go routines but those are forbidden
in Gno, hence reject them prescriptively instead of just spewing
out the raw ast type.
Fixesgnolang#3731
Updates gnolang#3751
If we run this code https://play.gno.land/p/4gMJ8TWBba5 we get back this obscure error
but when ran in Go per https://go.dev/play/p/E0q3dB93ISs produces
The text was updated successfully, but these errors were encountered: