diff --git a/examples/gno.land/p/demo/avl/z_0_filetest.gno b/examples/gno.land/p/demo/avl/z_0_filetest.gno index e3f1363e205..46903be035c 100644 --- a/examples/gno.land/p/demo/avl/z_0_filetest.gno +++ b/examples/gno.land/p/demo/avl/z_0_filetest.gno @@ -228,9 +228,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -258,9 +258,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "10", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -294,9 +294,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "15", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/examples/gno.land/p/demo/avl/z_1_filetest.gno b/examples/gno.land/p/demo/avl/z_1_filetest.gno index a6d2205e240..fb5111acaba 100644 --- a/examples/gno.land/p/demo/avl/z_1_filetest.gno +++ b/examples/gno.land/p/demo/avl/z_1_filetest.gno @@ -301,9 +301,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -331,9 +331,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "10", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -367,9 +367,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "15", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gno.land/pkg/sdk/vm/gas_test.go b/gno.land/pkg/sdk/vm/gas_test.go index 9f4ae1a6678..3528f60b0ab 100644 --- a/gno.land/pkg/sdk/vm/gas_test.go +++ b/gno.land/pkg/sdk/vm/gas_test.go @@ -67,7 +67,7 @@ func TestAddPkgDeliverTx(t *testing.T) { gasDeliver := gctx.GasMeter().GasConsumed() assert.True(t, res.IsOK()) - assert.Equal(t, int64(87809), gasDeliver) + assert.Equal(t, int64(87929), gasDeliver) } // Enough gas for a failed transaction. diff --git a/gnovm/cmd/gno/testdata/gno_test/realm_correct.txtar b/gnovm/cmd/gno/testdata/gno_test/realm_correct.txtar index 6845a5706c2..77018d5a0cd 100644 --- a/gnovm/cmd/gno/testdata/gno_test/realm_correct.txtar +++ b/gnovm/cmd/gno/testdata/gno_test/realm_correct.txtar @@ -32,9 +32,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/x" // } // }, @@ -62,9 +62,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "6", -// "Nonce": "0", // "PkgPath": "gno.land/r/x" // } // }, diff --git a/gnovm/cmd/gno/testdata/gno_test/realm_sync.txtar b/gnovm/cmd/gno/testdata/gno_test/realm_sync.txtar index 19c78a93870..fd7441cced1 100644 --- a/gnovm/cmd/gno/testdata/gno_test/realm_sync.txtar +++ b/gnovm/cmd/gno/testdata/gno_test/realm_sync.txtar @@ -47,9 +47,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/x" // } // }, @@ -77,9 +77,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "6", -// "Nonce": "0", // "PkgPath": "gno.land/r/x" // } // }, diff --git a/gnovm/cmd/gno/testdata/gno_test/test_with-native-fallback.txtar b/gnovm/cmd/gno/testdata/gno_test/test_with-native-fallback.txtar index 5b807442abc..6099788a9a1 100644 --- a/gnovm/cmd/gno/testdata/gno_test/test_with-native-fallback.txtar +++ b/gnovm/cmd/gno/testdata/gno_test/test_with-native-fallback.txtar @@ -4,7 +4,7 @@ ! stdout .+ stderr 'panic: unknown import path net \[recovered\]' -stderr ' panic: gno.land/r/\w{8}/contract.gno:3: unknown import path net' +stderr ' panic: gno.land/r/\w{8}/contract.gno:3:8: unknown import path net' gno test -v --with-native-fallback . diff --git a/gnovm/cmd/gno/testdata/gno_test/unknow_lib.txtar b/gnovm/cmd/gno/testdata/gno_test/unknow_lib.txtar index 3df7ab254e4..37ef68f3d91 100644 --- a/gnovm/cmd/gno/testdata/gno_test/unknow_lib.txtar +++ b/gnovm/cmd/gno/testdata/gno_test/unknow_lib.txtar @@ -4,13 +4,13 @@ ! stdout .+ stderr 'panic: unknown import path foobarbaz \[recovered\]' -stderr ' panic: gno.land/r/\w{8}/contract.gno:3: unknown import path foobarbaz' +stderr ' panic: gno.land/r/\w{8}/contract.gno:3:8: unknown import path foobarbaz' ! gno test -v --with-native-fallback . ! stdout .+ stderr 'panic: unknown import path foobarbaz \[recovered\]' -stderr ' panic: gno.land/r/\w{8}/contract.gno:3: unknown import path foobarbaz' +stderr ' panic: gno.land/r/\w{8}/contract.gno:3:8: unknown import path foobarbaz' -- contract.gno -- package contract diff --git a/gnovm/gno.proto b/gnovm/gno.proto index 481e89e22de..5f53c363b73 100644 --- a/gnovm/gno.proto +++ b/gnovm/gno.proto @@ -140,7 +140,7 @@ message Location { string PkgPath = 1; string File = 2; sint64 Line = 3; - sint64 Nonce = 4; + sint64 Column = 4; } message Attributes { @@ -600,4 +600,4 @@ message tupleType { message RefType { string ID = 1; -} \ No newline at end of file +} diff --git a/gnovm/pkg/gnolang/debugger.go b/gnovm/pkg/gnolang/debugger.go index f9e93974937..420a37ea501 100644 --- a/gnovm/pkg/gnolang/debugger.go +++ b/gnovm/pkg/gnolang/debugger.go @@ -132,13 +132,11 @@ loop: continue loop } default: - for _, b := range m.Debugger.breakpoints { - if b == m.Debugger.loc && m.Debugger.loc != m.Debugger.prevLoc { - m.Debugger.state = DebugAtCmd - m.Debugger.prevLoc = m.Debugger.loc - debugList(m, "") - continue loop - } + if atBreak(m) { + m.Debugger.state = DebugAtCmd + m.Debugger.prevLoc = m.Debugger.loc + debugList(m, "") + continue loop } } break loop @@ -159,6 +157,20 @@ loop: } } +// atBreak returns true if current machine location matches a breakpoint, false otherwise. +func atBreak(m *Machine) bool { + loc := m.Debugger.loc + if loc == m.Debugger.prevLoc { + return false + } + for _, b := range m.Debugger.breakpoints { + if loc.File == b.File && loc.Line == b.Line { + return true + } + } + return false +} + // debugCmd processes a debugger REPL command. It displays a prompt, then // reads and parses a command from the debugger input stream, then executes // the corresponding function or returns an error. @@ -231,6 +243,7 @@ func debugUpdateLocation(m *Machine) { expr := m.Exprs[i] if l := expr.GetLine(); l > 0 { m.Debugger.loc.Line = l + m.Debugger.loc.Column = expr.GetColumn() return } } @@ -239,6 +252,7 @@ func debugUpdateLocation(m *Machine) { if stmt := m.PeekStmt1(); stmt != nil { if l := stmt.GetLine(); l > 0 { m.Debugger.loc.Line = l + m.Debugger.loc.Column = stmt.GetColumn() return } } diff --git a/gnovm/pkg/gnolang/debugger_test.go b/gnovm/pkg/gnolang/debugger_test.go index 3f2f58b9709..10d7c5ce250 100644 --- a/gnovm/pkg/gnolang/debugger_test.go +++ b/gnovm/pkg/gnolang/debugger_test.go @@ -147,7 +147,7 @@ func TestDebug(t *testing.T) { {in: "b 37\nc\np b\n", out: "(3 int)"}, {in: "b 27\nc\np b\n", out: `("!zero" string)`}, {in: "b 22\nc\np t.A[3]\n", out: "Command failed: slice index out of bounds: 3 (len=3)"}, - {in: "b 43\nc\nc\np i\nd\n", out: "(1 int)"}, + {in: "b 43\nc\nc\nc\np i\ndetach\n", out: "(1 int)"}, }) runDebugTest(t, "../../tests/files/a1.gno", []dtest{ diff --git a/gnovm/pkg/gnolang/gnolang.proto b/gnovm/pkg/gnolang/gnolang.proto index 9904e26078f..eee9a0375e6 100644 --- a/gnovm/pkg/gnolang/gnolang.proto +++ b/gnovm/pkg/gnolang/gnolang.proto @@ -142,7 +142,7 @@ message Location { string pkg_path = 1 [json_name = "PkgPath"]; string file = 2 [json_name = "File"]; sint64 line = 3 [json_name = "Line"]; - sint64 nonce = 4 [json_name = "Nonce"]; + sint64 column = 4 [json_name = "Column"]; } message Attributes { @@ -602,4 +602,4 @@ message tupleType { message RefType { string id = 1 [json_name = "ID"]; -} \ No newline at end of file +} diff --git a/gnovm/pkg/gnolang/go2gno.go b/gnovm/pkg/gnolang/go2gno.go index fa958798653..23806e3ec70 100644 --- a/gnovm/pkg/gnolang/go2gno.go +++ b/gnovm/pkg/gnolang/go2gno.go @@ -137,6 +137,7 @@ func ParseFile(filename string, body string) (fn *FileNode, err error) { func setLoc(fs *token.FileSet, pos token.Pos, n Node) Node { posn := fs.Position(pos) n.SetLine(posn.Line) + n.SetColumn(posn.Column) return n } diff --git a/gnovm/pkg/gnolang/machine.go b/gnovm/pkg/gnolang/machine.go index 864384ea122..aa89b643ea6 100644 --- a/gnovm/pkg/gnolang/machine.go +++ b/gnovm/pkg/gnolang/machine.go @@ -448,11 +448,13 @@ func (m *Machine) injectLocOnPanic() { // Show last location information. // First, determine the line number of expression or statement if any. lastLine := 0 + lastColumn := 0 if len(m.Exprs) > 0 { for i := len(m.Exprs) - 1; i >= 0; i-- { expr := m.Exprs[i] if expr.GetLine() > 0 { lastLine = expr.GetLine() + lastColumn = expr.GetColumn() break } } @@ -462,6 +464,7 @@ func (m *Machine) injectLocOnPanic() { stmt := m.Stmts[i] if stmt.GetLine() > 0 { lastLine = stmt.GetLine() + lastColumn = stmt.GetColumn() break } } @@ -476,6 +479,7 @@ func (m *Machine) injectLocOnPanic() { lastLoc = loc if lastLine > 0 { lastLoc.Line = lastLine + lastLoc.Column = lastColumn } break } diff --git a/gnovm/pkg/gnolang/nodes.go b/gnovm/pkg/gnolang/nodes.go index 2897fdd5306..b5925335d1b 100644 --- a/gnovm/pkg/gnolang/nodes.go +++ b/gnovm/pkg/gnolang/nodes.go @@ -118,31 +118,23 @@ type Location struct { PkgPath string File string Line int - Nonce int + Column int } func (loc Location) String() string { - if loc.Nonce == 0 { - return fmt.Sprintf("%s/%s:%d", - loc.PkgPath, - loc.File, - loc.Line, - ) - } else { - return fmt.Sprintf("%s/%s:%d#%d", - loc.PkgPath, - loc.File, - loc.Line, - loc.Nonce, - ) - } + return fmt.Sprintf("%s/%s:%d:%d", + loc.PkgPath, + loc.File, + loc.Line, + loc.Column, + ) } func (loc Location) IsZero() bool { return loc.PkgPath == "" && loc.File == "" && loc.Line == 0 && - loc.Nonce == 0 + loc.Column == 0 } // ---------------------------------------- @@ -153,9 +145,10 @@ func (loc Location) IsZero() bool { // for preprocessing) are stored in .data. type Attributes struct { - Line int - Label Name - data map[interface{}]interface{} // not persisted + Line int + Column int + Label Name + data map[interface{}]interface{} // not persisted } func (attr *Attributes) GetLine() int { @@ -166,6 +159,14 @@ func (attr *Attributes) SetLine(line int) { attr.Line = line } +func (attr *Attributes) GetColumn() int { + return attr.Column +} + +func (attr *Attributes) SetColumn(column int) { + attr.Column = column +} + func (attr *Attributes) GetLabel() Name { return attr.Label } @@ -199,6 +200,8 @@ type Node interface { Copy() Node GetLine() int SetLine(int) + GetColumn() int + SetColumn(int) GetLabel() Name SetLabel(Name) HasAttribute(key interface{}) bool diff --git a/gnovm/pkg/gnolang/preprocess.go b/gnovm/pkg/gnolang/preprocess.go index 8eb2b37fcc2..c830d1a18f0 100644 --- a/gnovm/pkg/gnolang/preprocess.go +++ b/gnovm/pkg/gnolang/preprocess.go @@ -160,6 +160,7 @@ func Preprocess(store Store, ctx BlockNode, n Node) Node { loc := last.GetLocation() if nline := n.GetLine(); nline > 0 { loc.Line = nline + loc.Column = n.GetColumn() } var err error @@ -2851,6 +2852,7 @@ func predefineNow(store Store, last BlockNode, d Decl) (Decl, bool) { loc := last.GetLocation() if nline := d.GetLine(); nline > 0 { loc.Line = nline + loc.Column = d.GetColumn() } if rerr, ok := r.(error); ok { // NOTE: gotuna/gorilla expects error exceptions. @@ -3566,26 +3568,17 @@ func SetNodeLocations(pkgPath string, fileName string, n Node) { if pkgPath == "" || fileName == "" { panic("missing package path or file name") } - lastLine := 0 - nextNonce := 0 Transcribe(n, func(ns []Node, ftype TransField, index int, n Node, stage TransStage) (Node, TransCtrl) { if stage != TRANS_ENTER { return n, TRANS_CONTINUE } if bn, ok := n.(BlockNode); ok { // ensure unique location of blocknode. - line := bn.GetLine() - if line == lastLine { - nextNonce += 1 - } else { - lastLine = line - nextNonce = 0 - } loc := Location{ PkgPath: pkgPath, File: fileName, - Line: line, - Nonce: nextNonce, + Line: bn.GetLine(), + Column: bn.GetColumn(), } bn.SetLocation(loc) } @@ -3627,6 +3620,9 @@ func SaveBlockNodes(store Store, fn *FileNode) { if loc.Line != bn.GetLine() { panic("wrong line in block node location") } + if loc.Column != bn.GetColumn() { + panic("wrong column in block node location") + } // save blocknode. store.SetBlockNode(bn) } diff --git a/gnovm/pkg/repl/repl_test.go b/gnovm/pkg/repl/repl_test.go index fbb2efe8890..58b75188dde 100644 --- a/gnovm/pkg/repl/repl_test.go +++ b/gnovm/pkg/repl/repl_test.go @@ -69,7 +69,7 @@ var fixtures = []struct { CodeSteps: []step{ { Line: "importasdasd", - Error: "test/test1.gno:7: name importasdasd not declared", + Error: "test/test1.gno:7:2: name importasdasd not declared", }, { Line: "var a := 1", diff --git a/gnovm/tests/files/access1_stdlibs.gno b/gnovm/tests/files/access1_stdlibs.gno index 7a2f2cf3817..5a1bf4cc12e 100644 --- a/gnovm/tests/files/access1_stdlibs.gno +++ b/gnovm/tests/files/access1_stdlibs.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/access1_stdlibs.gno:8: cannot access gno.land/p/demo/testutils.testVar2 from main +// main/files/access1_stdlibs.gno:8:10: cannot access gno.land/p/demo/testutils.testVar2 from main diff --git a/gnovm/tests/files/access4_stdlibs.gno b/gnovm/tests/files/access4_stdlibs.gno index 6f092efb61c..e38a6d2ea4a 100644 --- a/gnovm/tests/files/access4_stdlibs.gno +++ b/gnovm/tests/files/access4_stdlibs.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/access4_stdlibs.gno:9: cannot access gno.land/p/demo/testutils.TestAccessStruct.privateField from main +// main/files/access4_stdlibs.gno:9:10: cannot access gno.land/p/demo/testutils.TestAccessStruct.privateField from main diff --git a/gnovm/tests/files/access6_stdlibs.gno b/gnovm/tests/files/access6_stdlibs.gno index b9e019525a7..57b3d63d1a6 100644 --- a/gnovm/tests/files/access6_stdlibs.gno +++ b/gnovm/tests/files/access6_stdlibs.gno @@ -16,4 +16,4 @@ func main() { } // Error: -// main/files/access6_stdlibs.gno:15: main.mystruct does not implement gno.land/p/demo/testutils.PrivateInterface +// main/files/access6_stdlibs.gno:15:2: main.mystruct does not implement gno.land/p/demo/testutils.PrivateInterface diff --git a/gnovm/tests/files/access7_stdlibs.gno b/gnovm/tests/files/access7_stdlibs.gno index ab63b3b9639..6ba10780856 100644 --- a/gnovm/tests/files/access7_stdlibs.gno +++ b/gnovm/tests/files/access7_stdlibs.gno @@ -20,4 +20,4 @@ func main() { } // Error: -// main/files/access7_stdlibs.gno:19: main.PrivateInterface2 does not implement gno.land/p/demo/testutils.PrivateInterface +// main/files/access7_stdlibs.gno:19:2: main.PrivateInterface2 does not implement gno.land/p/demo/testutils.PrivateInterface diff --git a/gnovm/tests/files/assign11.gno b/gnovm/tests/files/assign11.gno index 4eb17854b94..76284a75e0b 100644 --- a/gnovm/tests/files/assign11.gno +++ b/gnovm/tests/files/assign11.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/assign11.gno:6: assignment mismatch: 3 variables but fmt.Println returns 2 values +// main/files/assign11.gno:6:2: assignment mismatch: 3 variables but fmt.Println returns 2 values diff --git a/gnovm/tests/files/assign12.gno b/gnovm/tests/files/assign12.gno index 2fdfc29b787..5e62fd9c01a 100644 --- a/gnovm/tests/files/assign12.gno +++ b/gnovm/tests/files/assign12.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/assign12.gno:6: assignment mismatch: 3 variables but fmt.Println returns 2 values +// main/files/assign12.gno:6:2: assignment mismatch: 3 variables but fmt.Println returns 2 values diff --git a/gnovm/tests/files/assign22.gno b/gnovm/tests/files/assign22.gno index bedb8b4adb8..4234a526983 100644 --- a/gnovm/tests/files/assign22.gno +++ b/gnovm/tests/files/assign22.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/assign22.gno:7: assignment operator <<= requires only one expression on lhs and rhs +// main/files/assign22.gno:7:2: assignment operator <<= requires only one expression on lhs and rhs diff --git a/gnovm/tests/files/assign23.gno b/gnovm/tests/files/assign23.gno index ab648774028..2f36ddf866f 100644 --- a/gnovm/tests/files/assign23.gno +++ b/gnovm/tests/files/assign23.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/assign23.gno:7: assignment operator += requires only one expression on lhs and rhs +// main/files/assign23.gno:7:2: assignment operator += requires only one expression on lhs and rhs diff --git a/gnovm/tests/files/assign_unnamed_type/append/named_unnamed_type2_filetest.gno b/gnovm/tests/files/assign_unnamed_type/append/named_unnamed_type2_filetest.gno index 38ec5ab7851..bbd9e00919f 100644 --- a/gnovm/tests/files/assign_unnamed_type/append/named_unnamed_type2_filetest.gno +++ b/gnovm/tests/files/assign_unnamed_type/append/named_unnamed_type2_filetest.gno @@ -13,4 +13,4 @@ func main() { } // Error: -// main/files/assign_unnamed_type/append/named_unnamed_type2_filetest.gno:11: cannot use int as int64 +// main/files/assign_unnamed_type/append/named_unnamed_type2_filetest.gno:11:7: cannot use int as int64 diff --git a/gnovm/tests/files/assign_unnamed_type/method/declaredType6_filetest.gno b/gnovm/tests/files/assign_unnamed_type/method/declaredType6_filetest.gno index ba40fb8caa3..e41e6c6f21f 100644 --- a/gnovm/tests/files/assign_unnamed_type/method/declaredType6_filetest.gno +++ b/gnovm/tests/files/assign_unnamed_type/method/declaredType6_filetest.gno @@ -17,4 +17,4 @@ func main() { } // Error: -// main/files/assign_unnamed_type/method/declaredType6_filetest.gno:15: cannot use []main.c as []main.word +// main/files/assign_unnamed_type/method/declaredType6_filetest.gno:15:2: cannot use []main.c as []main.word diff --git a/gnovm/tests/files/assign_unnamed_type/method/declaredType6b_filetest.gno b/gnovm/tests/files/assign_unnamed_type/method/declaredType6b_filetest.gno index 9e46c884252..673c48725b8 100644 --- a/gnovm/tests/files/assign_unnamed_type/method/declaredType6b_filetest.gno +++ b/gnovm/tests/files/assign_unnamed_type/method/declaredType6b_filetest.gno @@ -17,4 +17,4 @@ func main() { } // Error: -// main/files/assign_unnamed_type/method/declaredType6b_filetest.gno:15: cannot use []uint as []main.word +// main/files/assign_unnamed_type/method/declaredType6b_filetest.gno:15:2: cannot use []uint as []main.word diff --git a/gnovm/tests/files/assign_unnamed_type/more/assgin_two_filetest.gno b/gnovm/tests/files/assign_unnamed_type/more/assgin_two_filetest.gno index 0ee4acd58fc..b2cdc14ff77 100644 --- a/gnovm/tests/files/assign_unnamed_type/more/assgin_two_filetest.gno +++ b/gnovm/tests/files/assign_unnamed_type/more/assgin_two_filetest.gno @@ -15,4 +15,4 @@ func main() { } // Error: -// main/files/assign_unnamed_type/more/assgin_two_filetest.gno:11: cannot use main.nat2 as main.nat without explicit conversion +// main/files/assign_unnamed_type/more/assgin_two_filetest.gno:11:2: cannot use main.nat2 as main.nat without explicit conversion diff --git a/gnovm/tests/files/assign_unnamed_type/more/realm_compositelit_filetest.gno b/gnovm/tests/files/assign_unnamed_type/more/realm_compositelit_filetest.gno index 6ef12bd33d4..ef87b085a7e 100644 --- a/gnovm/tests/files/assign_unnamed_type/more/realm_compositelit_filetest.gno +++ b/gnovm/tests/files/assign_unnamed_type/more/realm_compositelit_filetest.gno @@ -106,9 +106,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -205,9 +205,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "20", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/assign_unnamed_type/more/return_interface1_filetest.gno b/gnovm/tests/files/assign_unnamed_type/more/return_interface1_filetest.gno index 9395426cfc8..61ae8208a4a 100644 --- a/gnovm/tests/files/assign_unnamed_type/more/return_interface1_filetest.gno +++ b/gnovm/tests/files/assign_unnamed_type/more/return_interface1_filetest.gno @@ -12,4 +12,4 @@ func main() { } // Error: -// main/files/assign_unnamed_type/more/return_interface1_filetest.gno:10: cannot use interface{} as uint +// main/files/assign_unnamed_type/more/return_interface1_filetest.gno:10:2: cannot use interface{} as uint diff --git a/gnovm/tests/files/assign_unnamed_type/more/return_interface_filetest.gno b/gnovm/tests/files/assign_unnamed_type/more/return_interface_filetest.gno index 8b5fdd7c728..11ac22370b5 100644 --- a/gnovm/tests/files/assign_unnamed_type/more/return_interface_filetest.gno +++ b/gnovm/tests/files/assign_unnamed_type/more/return_interface_filetest.gno @@ -16,4 +16,4 @@ func main() { } // Error: -// main/files/assign_unnamed_type/more/return_interface_filetest.gno:13: cannot use interface{} as []int +// main/files/assign_unnamed_type/more/return_interface_filetest.gno:13:2: cannot use interface{} as []int diff --git a/gnovm/tests/files/assign_unnamed_type/unnamedtype0b_filetest.gno b/gnovm/tests/files/assign_unnamed_type/unnamedtype0b_filetest.gno index 8f1eb5399b2..0c7b03df575 100644 --- a/gnovm/tests/files/assign_unnamed_type/unnamedtype0b_filetest.gno +++ b/gnovm/tests/files/assign_unnamed_type/unnamedtype0b_filetest.gno @@ -14,4 +14,4 @@ func main() { } // Error: -// main/files/assign_unnamed_type/unnamedtype0b_filetest.gno:11: cannot use []main.word as []int +// main/files/assign_unnamed_type/unnamedtype0b_filetest.gno:11:2: cannot use []main.word as []int diff --git a/gnovm/tests/files/bltn0.gno b/gnovm/tests/files/bltn0.gno index 2a047303a31..7b65e71f50e 100644 --- a/gnovm/tests/files/bltn0.gno +++ b/gnovm/tests/files/bltn0.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/bltn0.gno:4: use of builtin println not in function call +// main/files/bltn0.gno:4:7: use of builtin println not in function call diff --git a/gnovm/tests/files/bool6.gno b/gnovm/tests/files/bool6.gno index 3ad789dda32..94b6a1d76de 100644 --- a/gnovm/tests/files/bool6.gno +++ b/gnovm/tests/files/bool6.gno @@ -9,4 +9,4 @@ func X() string { } // Error: -// main/files/bool6.gno:8: operator || not defined on: StringKind +// main/files/bool6.gno:8:9: operator || not defined on: StringKind diff --git a/gnovm/tests/files/const9.gno b/gnovm/tests/files/const9.gno index 2dbfdca2da3..d67aaf63137 100644 --- a/gnovm/tests/files/const9.gno +++ b/gnovm/tests/files/const9.gno @@ -14,4 +14,4 @@ func main() { } // Error: -// main/files/const9.gno:5: constant definition loop with b +// main/files/const9.gno:5:2: constant definition loop with b diff --git a/gnovm/tests/files/float0.gno b/gnovm/tests/files/float0.gno index 07a6db74550..7353235587a 100644 --- a/gnovm/tests/files/float0.gno +++ b/gnovm/tests/files/float0.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/float0.gno:4: cannot convert (const (1.2 bigdec)) to integer type +// main/files/float0.gno:4:7: cannot convert (const (1.2 bigdec)) to integer type diff --git a/gnovm/tests/files/for7.gno b/gnovm/tests/files/for7.gno index 0f471956314..ed3d2f729c8 100644 --- a/gnovm/tests/files/for7.gno +++ b/gnovm/tests/files/for7.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/for7.gno:4: expected typed bool kind, but got IntKind +// main/files/for7.gno:4:2: expected typed bool kind, but got IntKind diff --git a/gnovm/tests/files/fun21.gno b/gnovm/tests/files/fun21.gno index 630e4856616..25725ccd8c4 100644 --- a/gnovm/tests/files/fun21.gno +++ b/gnovm/tests/files/fun21.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/fun21.gno:4: expected 1 return values; got 0 +// main/files/fun21.gno:4:2: expected 1 return values; got 0 diff --git a/gnovm/tests/files/fun22.gno b/gnovm/tests/files/fun22.gno index 36c131a1cc7..671f2d1a1ed 100644 --- a/gnovm/tests/files/fun22.gno +++ b/gnovm/tests/files/fun22.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/fun22.gno:6: wrong argument count in call to time.Date; want 8 got 0 +// main/files/fun22.gno:6:2: wrong argument count in call to time.Date; want 8 got 0 diff --git a/gnovm/tests/files/fun23.gno b/gnovm/tests/files/fun23.gno index 659811ba1be..17bd5b3e0cc 100644 --- a/gnovm/tests/files/fun23.gno +++ b/gnovm/tests/files/fun23.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/fun23.gno:3: expected 0 return values; got 1 +// main/files/fun23.gno:3:17: expected 0 return values; got 1 diff --git a/gnovm/tests/files/fun24.gno b/gnovm/tests/files/fun24.gno index 100d3c26ded..a753e94c69f 100644 --- a/gnovm/tests/files/fun24.gno +++ b/gnovm/tests/files/fun24.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/fun24.gno:3: cannot use untyped string as IntKind +// main/files/fun24.gno:3:28: cannot use untyped string as IntKind diff --git a/gnovm/tests/files/fun25.gno b/gnovm/tests/files/fun25.gno index 25b31eedb1f..f5ee03fbe58 100644 --- a/gnovm/tests/files/fun25.gno +++ b/gnovm/tests/files/fun25.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/fun25.gno:3: cannot use string as int +// main/files/fun25.gno:3:35: cannot use string as int diff --git a/gnovm/tests/files/fun27.gno b/gnovm/tests/files/fun27.gno index 4e6e25e1065..8f4d6c02e5f 100644 --- a/gnovm/tests/files/fun27.gno +++ b/gnovm/tests/files/fun27.gno @@ -13,4 +13,4 @@ func main() { } // Error: -// main/files/fun27.gno:8: bigint does not implement main.Foo +// main/files/fun27.gno:8:2: bigint does not implement main.Foo diff --git a/gnovm/tests/files/heap_item_value.gno b/gnovm/tests/files/heap_item_value.gno index fe2873f9b60..1f371c61b58 100644 --- a/gnovm/tests/files/heap_item_value.gno +++ b/gnovm/tests/files/heap_item_value.gno @@ -64,9 +64,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -123,9 +123,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "10", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/heap_item_value_init.gno b/gnovm/tests/files/heap_item_value_init.gno index 0d1db7bcb76..f23b0e9d29c 100644 --- a/gnovm/tests/files/heap_item_value_init.gno +++ b/gnovm/tests/files/heap_item_value_init.gno @@ -32,9 +32,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -94,9 +94,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "10", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -130,9 +130,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "16", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/if2.gno b/gnovm/tests/files/if2.gno index bc417a92fe7..128ab308713 100644 --- a/gnovm/tests/files/if2.gno +++ b/gnovm/tests/files/if2.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/if2.gno:7: expected typed bool kind, but got IntKind +// main/files/if2.gno:7:2: expected typed bool kind, but got IntKind diff --git a/gnovm/tests/files/import10.gno b/gnovm/tests/files/import10.gno index 14df8bcbc43..9ee8e78d457 100644 --- a/gnovm/tests/files/import10.gno +++ b/gnovm/tests/files/import10.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/import10.gno:7: package fmt cannot only be referred to in a selector expression +// main/files/import10.gno:7:10: package fmt cannot only be referred to in a selector expression diff --git a/gnovm/tests/files/import6.gno b/gnovm/tests/files/import6.gno index 831e892ad1e..f3cd9930eb5 100644 --- a/gnovm/tests/files/import6.gno +++ b/gnovm/tests/files/import6.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// github.com/gnolang/gno/_test/c2/c2.gno:3: import cycle detected: "github.com/gnolang/gno/_test/c1" (through [github.com/gnolang/gno/_test/c1 github.com/gnolang/gno/_test/c2]) +// github.com/gnolang/gno/_test/c2/c2.gno:3:8: import cycle detected: "github.com/gnolang/gno/_test/c1" (through [github.com/gnolang/gno/_test/c1 github.com/gnolang/gno/_test/c2]) diff --git a/gnovm/tests/files/init1.gno b/gnovm/tests/files/init1.gno index fa1c74d24f2..0fc0df92d45 100644 --- a/gnovm/tests/files/init1.gno +++ b/gnovm/tests/files/init1.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/init1.gno:8: name init not declared +// main/files/init1.gno:8:2: name init not declared diff --git a/gnovm/tests/files/invalid_labels0.gno b/gnovm/tests/files/invalid_labels0.gno index 14e5489ec21..65e072c9871 100644 --- a/gnovm/tests/files/invalid_labels0.gno +++ b/gnovm/tests/files/invalid_labels0.gno @@ -11,4 +11,4 @@ FirstLoop: } // Error: -// main/files/invalid_labels0.gno:9: cannot find branch label "FirstLoop" +// main/files/invalid_labels0.gno:9:3: cannot find branch label "FirstLoop" diff --git a/gnovm/tests/files/invalid_labels2.gno b/gnovm/tests/files/invalid_labels2.gno index 0f4a5305484..4d6b09c0172 100644 --- a/gnovm/tests/files/invalid_labels2.gno +++ b/gnovm/tests/files/invalid_labels2.gno @@ -12,4 +12,4 @@ FirstLoop: } // Error: -// main/files/invalid_labels2.gno:7: cannot find branch label "FirstLoop" +// main/files/invalid_labels2.gno:7:3: cannot find branch label "FirstLoop" diff --git a/gnovm/tests/files/op7.gno b/gnovm/tests/files/op7.gno index 0c3f540600b..8d5fef1607a 100644 --- a/gnovm/tests/files/op7.gno +++ b/gnovm/tests/files/op7.gno @@ -14,4 +14,4 @@ func main() { } // Error: -// main/files/op7.gno:11: operator > not defined on: InterfaceKind +// main/files/op7.gno:11:5: operator > not defined on: InterfaceKind diff --git a/gnovm/tests/files/pkgname1.gno b/gnovm/tests/files/pkgname1.gno index ab972295954..b53dacbe33b 100644 --- a/gnovm/tests/files/pkgname1.gno +++ b/gnovm/tests/files/pkgname1.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/pkgname1.gno:8: name bar not declared +// main/files/pkgname1.gno:8:19: name bar not declared diff --git a/gnovm/tests/files/redeclaration9.gno b/gnovm/tests/files/redeclaration9.gno index 89a63683c13..f18b7e64379 100644 --- a/gnovm/tests/files/redeclaration9.gno +++ b/gnovm/tests/files/redeclaration9.gno @@ -11,4 +11,4 @@ func main() { } // Error: -// main/files/redeclaration9.gno:7: redeclaration of method a.method +// main/files/redeclaration9.gno:7:1: redeclaration of method a.method diff --git a/gnovm/tests/files/switch13.gno b/gnovm/tests/files/switch13.gno index bd32337620a..b2223c85256 100644 --- a/gnovm/tests/files/switch13.gno +++ b/gnovm/tests/files/switch13.gno @@ -14,4 +14,4 @@ func main() { } // Error: -// main/files/switch13.gno:0#1: i is not a type +// main/files/switch13.gno:0:0: i is not a type diff --git a/gnovm/tests/files/switch19.gno b/gnovm/tests/files/switch19.gno index 71d4da222c0..4d769082647 100644 --- a/gnovm/tests/files/switch19.gno +++ b/gnovm/tests/files/switch19.gno @@ -48,4 +48,4 @@ func main() { } // Error: -// main/files/switch19.gno:34: duplicate type main.Bir in type switch +// main/files/switch19.gno:34:2: duplicate type main.Bir in type switch diff --git a/gnovm/tests/files/time16_native.gno b/gnovm/tests/files/time16_native.gno index 03eca47172f..4010667b41c 100644 --- a/gnovm/tests/files/time16_native.gno +++ b/gnovm/tests/files/time16_native.gno @@ -11,4 +11,4 @@ func main() { } // Error: -// main/files/time16_native.gno:10: incompatible operands in binary expression: go:time.Duration MUL int64 +// main/files/time16_native.gno:10:14: incompatible operands in binary expression: go:time.Duration MUL int64 diff --git a/gnovm/tests/files/type30.gno b/gnovm/tests/files/type30.gno index cb21c245892..7ba9559d0ca 100644 --- a/gnovm/tests/files/type30.gno +++ b/gnovm/tests/files/type30.gno @@ -16,4 +16,4 @@ func main() { } // Error: -// main/files/type30.gno:15: cannot use main.String as string without explicit conversion +// main/files/type30.gno:15:10: cannot use main.String as string without explicit conversion diff --git a/gnovm/tests/files/type31.gno b/gnovm/tests/files/type31.gno index 68c92e9a504..5b666506e67 100644 --- a/gnovm/tests/files/type31.gno +++ b/gnovm/tests/files/type31.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/type31.gno:8: invalid operation: mismatched types string and main.String +// main/files/type31.gno:8:10: invalid operation: mismatched types string and main.String diff --git a/gnovm/tests/files/type32.gno b/gnovm/tests/files/type32.gno index 9565cdba245..d3462f29157 100644 --- a/gnovm/tests/files/type32.gno +++ b/gnovm/tests/files/type32.gno @@ -12,4 +12,4 @@ func main() { } // Error: -// main/files/type32.gno:9#1: invalid operation: mismatched types string and main.S +// main/files/type32.gno:9:11: invalid operation: mismatched types string and main.S diff --git a/gnovm/tests/files/type37.gno b/gnovm/tests/files/type37.gno index 1bc157b44ff..0443672d496 100644 --- a/gnovm/tests/files/type37.gno +++ b/gnovm/tests/files/type37.gno @@ -17,4 +17,4 @@ func main() { } // Error: -// main/files/type37.gno:8: invalid receiver type main.Arr (base type is pointer type) +// main/files/type37.gno:8:1: invalid receiver type main.Arr (base type is pointer type) diff --git a/gnovm/tests/files/type37b.gno b/gnovm/tests/files/type37b.gno index aea1b445ca1..7b444e377eb 100644 --- a/gnovm/tests/files/type37b.gno +++ b/gnovm/tests/files/type37b.gno @@ -19,4 +19,4 @@ func main() { } // Error: -// main/files/type37b.gno:7: invalid receiver type **main.Integer (base type is pointer type) +// main/files/type37b.gno:7:1: invalid receiver type **main.Integer (base type is pointer type) diff --git a/gnovm/tests/files/type37d.gno b/gnovm/tests/files/type37d.gno index ada9541e64e..f8ff52d9754 100644 --- a/gnovm/tests/files/type37d.gno +++ b/gnovm/tests/files/type37d.gno @@ -13,4 +13,4 @@ func main() { } // Error: -// main/files/type37d.gno:7: invalid receiver type main.IntPtr (base type is pointer type) +// main/files/type37d.gno:7:1: invalid receiver type main.IntPtr (base type is pointer type) diff --git a/gnovm/tests/files/type37e.gno b/gnovm/tests/files/type37e.gno index a2537c9cb8d..8d8b51d2a20 100644 --- a/gnovm/tests/files/type37e.gno +++ b/gnovm/tests/files/type37e.gno @@ -14,4 +14,4 @@ func main() { } // Error: -// main/files/type37e.gno:8: invalid receiver type main.Int2 (base type is pointer type) +// main/files/type37e.gno:8:1: invalid receiver type main.Int2 (base type is pointer type) diff --git a/gnovm/tests/files/type37f.gno b/gnovm/tests/files/type37f.gno index 7bffa748314..b448f914b3a 100644 --- a/gnovm/tests/files/type37f.gno +++ b/gnovm/tests/files/type37f.gno @@ -13,4 +13,4 @@ func main() { } // Error: -// main/files/type37f.gno:7: invalid receiver type *main.IntPtr (base type is pointer type) +// main/files/type37f.gno:7:1: invalid receiver type *main.IntPtr (base type is pointer type) diff --git a/gnovm/tests/files/type39.gno b/gnovm/tests/files/type39.gno index aebcc226385..7111d146ba2 100644 --- a/gnovm/tests/files/type39.gno +++ b/gnovm/tests/files/type39.gno @@ -19,4 +19,4 @@ func main() { } // Error: -// main/files/type39.gno:7: invalid receiver type main.foo (base type is interface type) +// main/files/type39.gno:7:1: invalid receiver type main.foo (base type is interface type) diff --git a/gnovm/tests/files/type39a.gno b/gnovm/tests/files/type39a.gno index 06f41897f93..fdfd6df8bb1 100644 --- a/gnovm/tests/files/type39a.gno +++ b/gnovm/tests/files/type39a.gno @@ -21,4 +21,4 @@ func main() { } // Error: -// main/files/type39a.gno:9: invalid receiver type main.FF (base type is interface type) +// main/files/type39a.gno:9:1: invalid receiver type main.FF (base type is interface type) diff --git a/gnovm/tests/files/type39b.gno b/gnovm/tests/files/type39b.gno index dbf5312a825..4c95044fbd1 100644 --- a/gnovm/tests/files/type39b.gno +++ b/gnovm/tests/files/type39b.gno @@ -19,4 +19,4 @@ func main() { } // Error: -// main/files/type39b.gno:7: invalid receiver type *main.foo (base type is interface type) +// main/files/type39b.gno:7:1: invalid receiver type *main.foo (base type is interface type) diff --git a/gnovm/tests/files/typeassert3.gno b/gnovm/tests/files/typeassert3.gno index 83bedd503f7..41f97bf3488 100644 --- a/gnovm/tests/files/typeassert3.gno +++ b/gnovm/tests/files/typeassert3.gno @@ -12,4 +12,4 @@ func main() { } // Error: -// main/files/typeassert3.gno:9: cannot use _ as value or type +// main/files/typeassert3.gno:9:8: cannot use _ as value or type diff --git a/gnovm/tests/files/typeassert8.gno b/gnovm/tests/files/typeassert8.gno index b744afc8703..737f2e5d98f 100644 --- a/gnovm/tests/files/typeassert8.gno +++ b/gnovm/tests/files/typeassert8.gno @@ -15,4 +15,4 @@ func main() { } // Error: -// main/files/typeassert8.gno:13: invalid operation: r (variable of type []int) is not an interface +// main/files/typeassert8.gno:13:7: invalid operation: r (variable of type []int) is not an interface diff --git a/gnovm/tests/files/typeassert8a.gno b/gnovm/tests/files/typeassert8a.gno index a32aadc7679..2b163e83ddc 100644 --- a/gnovm/tests/files/typeassert8a.gno +++ b/gnovm/tests/files/typeassert8a.gno @@ -15,4 +15,4 @@ func main() { } // Error: -// main/files/typeassert8a.gno:13: invalid operation: r (variable of type []int) is not an interface +// main/files/typeassert8a.gno:13:11: invalid operation: r (variable of type []int) is not an interface diff --git a/gnovm/tests/files/types/add_a0.gno b/gnovm/tests/files/types/add_a0.gno index 9b8e08718b7..01b080d9d55 100644 --- a/gnovm/tests/files/types/add_a0.gno +++ b/gnovm/tests/files/types/add_a0.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/add_a0.gno:5: invalid operation: mismatched types int and int8 +// main/files/types/add_a0.gno:5:10: invalid operation: mismatched types int and int8 diff --git a/gnovm/tests/files/types/add_a1.gno b/gnovm/tests/files/types/add_a1.gno index f5bcec883b2..c7ea22d04fd 100644 --- a/gnovm/tests/files/types/add_a1.gno +++ b/gnovm/tests/files/types/add_a1.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/add_a1.gno:21: invalid operation: mismatched types main.Error1 and main.Error2 +// main/files/types/add_a1.gno:21:10: invalid operation: mismatched types main.Error1 and main.Error2 diff --git a/gnovm/tests/files/types/add_assign_a0.gno b/gnovm/tests/files/types/add_assign_a0.gno index 181941d1ea9..9c13b8815ef 100644 --- a/gnovm/tests/files/types/add_assign_a0.gno +++ b/gnovm/tests/files/types/add_assign_a0.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/add_assign_a0.gno:5: invalid operation: mismatched types int and int8 +// main/files/types/add_assign_a0.gno:5:2: invalid operation: mismatched types int and int8 diff --git a/gnovm/tests/files/types/add_assign_a1.gno b/gnovm/tests/files/types/add_assign_a1.gno index f169e58d5b1..1e844a9f6ee 100644 --- a/gnovm/tests/files/types/add_assign_a1.gno +++ b/gnovm/tests/files/types/add_assign_a1.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/add_assign_a1.gno:21: invalid operation: mismatched types main.Error1 and main.Error2 +// main/files/types/add_assign_a1.gno:21:2: invalid operation: mismatched types main.Error1 and main.Error2 diff --git a/gnovm/tests/files/types/add_assign_a_01.gno b/gnovm/tests/files/types/add_assign_a_01.gno index f09c7ed7344..4641ef8b1a9 100644 --- a/gnovm/tests/files/types/add_assign_a_01.gno +++ b/gnovm/tests/files/types/add_assign_a_01.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/types/add_assign_a_01.gno:6: assignment operator += requires only one expression on lhs and rhs +// main/files/types/add_assign_a_01.gno:6:2: assignment operator += requires only one expression on lhs and rhs diff --git a/gnovm/tests/files/types/add_assign_b0.gno b/gnovm/tests/files/types/add_assign_b0.gno index 28b6af83d3a..e335b11014e 100644 --- a/gnovm/tests/files/types/add_assign_b0.gno +++ b/gnovm/tests/files/types/add_assign_b0.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/types/add_assign_b0.gno:8: invalid operation: mismatched types int and main.Error +// main/files/types/add_assign_b0.gno:8:2: invalid operation: mismatched types int and main.Error diff --git a/gnovm/tests/files/types/add_assign_e0.gno b/gnovm/tests/files/types/add_assign_e0.gno index d71bedab118..4319f1e828f 100644 --- a/gnovm/tests/files/types/add_assign_e0.gno +++ b/gnovm/tests/files/types/add_assign_e0.gno @@ -25,4 +25,4 @@ func main() { } // Error: -// main/files/types/add_assign_e0.gno:23: invalid operation: mismatched types main.Error1 and main.Error2 +// main/files/types/add_assign_e0.gno:23:2: invalid operation: mismatched types main.Error1 and main.Error2 diff --git a/gnovm/tests/files/types/add_assign_f0_stdlibs.gno b/gnovm/tests/files/types/add_assign_f0_stdlibs.gno index b91fa58c30d..67c6777d085 100644 --- a/gnovm/tests/files/types/add_assign_f0_stdlibs.gno +++ b/gnovm/tests/files/types/add_assign_f0_stdlibs.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/add_assign_f0_stdlibs.gno:20: invalid operation: mismatched types int and .uverse.error +// main/files/types/add_assign_f0_stdlibs.gno:20:2: invalid operation: mismatched types int and .uverse.error diff --git a/gnovm/tests/files/types/add_assign_f1_stdlibs.gno b/gnovm/tests/files/types/add_assign_f1_stdlibs.gno index 090f8f51f89..d83a66359c9 100644 --- a/gnovm/tests/files/types/add_assign_f1_stdlibs.gno +++ b/gnovm/tests/files/types/add_assign_f1_stdlibs.gno @@ -25,4 +25,4 @@ func main() { } // Error: -// main/files/types/add_assign_f1_stdlibs.gno:21: invalid operation: mismatched types main.Error and .uverse.error +// main/files/types/add_assign_f1_stdlibs.gno:21:2: invalid operation: mismatched types main.Error and .uverse.error diff --git a/gnovm/tests/files/types/add_assign_f2_stdlibs.gno b/gnovm/tests/files/types/add_assign_f2_stdlibs.gno index 5cfd351f574..8be6b3cfb7b 100644 --- a/gnovm/tests/files/types/add_assign_f2_stdlibs.gno +++ b/gnovm/tests/files/types/add_assign_f2_stdlibs.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/add_assign_f2_stdlibs.gno:20: operator += not defined on: InterfaceKind +// main/files/types/add_assign_f2_stdlibs.gno:20:2: operator += not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/add_assign_f3.gno b/gnovm/tests/files/types/add_assign_f3.gno index 7a48c584dff..447cfdd7501 100644 --- a/gnovm/tests/files/types/add_assign_f3.gno +++ b/gnovm/tests/files/types/add_assign_f3.gno @@ -29,4 +29,4 @@ func main() { } // Error: -// main/files/types/add_assign_f3.gno:27: operator += not defined on: InterfaceKind +// main/files/types/add_assign_f3.gno:27:2: operator += not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/add_b2.gno b/gnovm/tests/files/types/add_b2.gno index b6463134da4..fe2a9b872cc 100644 --- a/gnovm/tests/files/types/add_b2.gno +++ b/gnovm/tests/files/types/add_b2.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/add_b2.gno:5: cannot use untyped Bigint as StringKind +// main/files/types/add_b2.gno:5:10: cannot use untyped Bigint as StringKind diff --git a/gnovm/tests/files/types/add_d4.gno b/gnovm/tests/files/types/add_d4.gno index bdfca69ea88..a1ff8e09ae7 100644 --- a/gnovm/tests/files/types/add_d4.gno +++ b/gnovm/tests/files/types/add_d4.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/types/add_d4.gno:7: operator + not defined on: InterfaceKind +// main/files/types/add_d4.gno:7:10: operator + not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/add_e0.gno b/gnovm/tests/files/types/add_e0.gno index b7fc8e395be..12e20f5a8e0 100644 --- a/gnovm/tests/files/types/add_e0.gno +++ b/gnovm/tests/files/types/add_e0.gno @@ -24,4 +24,4 @@ func main() { } // Error: -// main/files/types/add_e0.gno:23: invalid operation: mismatched types main.Error1 and main.Error2 +// main/files/types/add_e0.gno:23:10: invalid operation: mismatched types main.Error1 and main.Error2 diff --git a/gnovm/tests/files/types/add_f0_stdlibs.gno b/gnovm/tests/files/types/add_f0_stdlibs.gno index cf16d0ff084..33e0346d44f 100644 --- a/gnovm/tests/files/types/add_f0_stdlibs.gno +++ b/gnovm/tests/files/types/add_f0_stdlibs.gno @@ -20,4 +20,4 @@ func main() { } // Error: -// main/files/types/add_f0_stdlibs.gno:19: operator + not defined on: InterfaceKind +// main/files/types/add_f0_stdlibs.gno:19:10: operator + not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/add_f1_stdlibs.gno b/gnovm/tests/files/types/add_f1_stdlibs.gno index 6bf1f814ac5..e46d67e93d7 100644 --- a/gnovm/tests/files/types/add_f1_stdlibs.gno +++ b/gnovm/tests/files/types/add_f1_stdlibs.gno @@ -20,4 +20,4 @@ func main() { } // Error: -// main/files/types/add_f1_stdlibs.gno:19: operator + not defined on: InterfaceKind +// main/files/types/add_f1_stdlibs.gno:19:10: operator + not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/add_f2.gno b/gnovm/tests/files/types/add_f2.gno index 7adfcfdaca6..276610ac6c9 100644 --- a/gnovm/tests/files/types/add_f2.gno +++ b/gnovm/tests/files/types/add_f2.gno @@ -28,4 +28,4 @@ func main() { } // Error: -// main/files/types/add_f2.gno:27: operator + not defined on: InterfaceKind +// main/files/types/add_f2.gno:27:10: operator + not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/and_a0.gno b/gnovm/tests/files/types/and_a0.gno index b1d23b23c91..8be9a325f7a 100644 --- a/gnovm/tests/files/types/and_a0.gno +++ b/gnovm/tests/files/types/and_a0.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/and_a0.gno:5: invalid operation: mismatched types int and int8 +// main/files/types/and_a0.gno:5:10: invalid operation: mismatched types int and int8 diff --git a/gnovm/tests/files/types/and_a1.gno b/gnovm/tests/files/types/and_a1.gno index d2fceec80ef..e7f1fe1d37c 100644 --- a/gnovm/tests/files/types/and_a1.gno +++ b/gnovm/tests/files/types/and_a1.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/and_a1.gno:21: invalid operation: mismatched types main.Error1 and main.Error2 +// main/files/types/and_a1.gno:21:10: invalid operation: mismatched types main.Error1 and main.Error2 diff --git a/gnovm/tests/files/types/and_b2.gno b/gnovm/tests/files/types/and_b2.gno index 8ff36aaa26b..bec070e9300 100644 --- a/gnovm/tests/files/types/and_b2.gno +++ b/gnovm/tests/files/types/and_b2.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/and_b2.gno:5: operator & not defined on: StringKind +// main/files/types/and_b2.gno:5:10: operator & not defined on: StringKind diff --git a/gnovm/tests/files/types/and_b3.gno b/gnovm/tests/files/types/and_b3.gno index 69be88d2dc9..1ca8fab934e 100644 --- a/gnovm/tests/files/types/and_b3.gno +++ b/gnovm/tests/files/types/and_b3.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/and_b3.gno:5: operator & not defined on: StringKind +// main/files/types/and_b3.gno:5:10: operator & not defined on: StringKind diff --git a/gnovm/tests/files/types/and_d0.gno b/gnovm/tests/files/types/and_d0.gno index 90646e97bc9..5246f447f46 100644 --- a/gnovm/tests/files/types/and_d0.gno +++ b/gnovm/tests/files/types/and_d0.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/and_d0.gno:6: operator & not defined on: BigdecKind +// main/files/types/and_d0.gno:6:10: operator & not defined on: BigdecKind diff --git a/gnovm/tests/files/types/and_d4.gno b/gnovm/tests/files/types/and_d4.gno index b4f8a70ad3c..461a55aae45 100644 --- a/gnovm/tests/files/types/and_d4.gno +++ b/gnovm/tests/files/types/and_d4.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/and_d4.gno:6: operator & not defined on: BigdecKind +// main/files/types/and_d4.gno:6:10: operator & not defined on: BigdecKind diff --git a/gnovm/tests/files/types/and_e0.gno b/gnovm/tests/files/types/and_e0.gno index 28d58acf42b..d3cb8aefe73 100644 --- a/gnovm/tests/files/types/and_e0.gno +++ b/gnovm/tests/files/types/and_e0.gno @@ -24,4 +24,4 @@ func main() { } // Error: -// main/files/types/and_e0.gno:23: invalid operation: mismatched types main.Error1 and main.Error2 +// main/files/types/and_e0.gno:23:10: invalid operation: mismatched types main.Error1 and main.Error2 diff --git a/gnovm/tests/files/types/and_f0_stdlibs.gno b/gnovm/tests/files/types/and_f0_stdlibs.gno index 6b56a8e59c4..e80f69332a8 100644 --- a/gnovm/tests/files/types/and_f0_stdlibs.gno +++ b/gnovm/tests/files/types/and_f0_stdlibs.gno @@ -20,4 +20,4 @@ func main() { } // Error: -// main/files/types/and_f0_stdlibs.gno:19: operator & not defined on: InterfaceKind +// main/files/types/and_f0_stdlibs.gno:19:10: operator & not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/and_f1_stdlibs.gno b/gnovm/tests/files/types/and_f1_stdlibs.gno index f1d7589e2f6..42a6aa4b466 100644 --- a/gnovm/tests/files/types/and_f1_stdlibs.gno +++ b/gnovm/tests/files/types/and_f1_stdlibs.gno @@ -20,4 +20,4 @@ func main() { } // Error: -// main/files/types/and_f1_stdlibs.gno:19: operator & not defined on: InterfaceKind +// main/files/types/and_f1_stdlibs.gno:19:10: operator & not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/and_f2.gno b/gnovm/tests/files/types/and_f2.gno index 24368256822..35bdebad9bb 100644 --- a/gnovm/tests/files/types/and_f2.gno +++ b/gnovm/tests/files/types/and_f2.gno @@ -28,4 +28,4 @@ func main() { } // Error: -// main/files/types/and_f2.gno:27: operator & not defined on: InterfaceKind +// main/files/types/and_f2.gno:27:10: operator & not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/assign_call.gno b/gnovm/tests/files/types/assign_call.gno index a94b4a0b126..e62abe45485 100644 --- a/gnovm/tests/files/types/assign_call.gno +++ b/gnovm/tests/files/types/assign_call.gno @@ -11,4 +11,4 @@ func main() { } // Error: -// main/files/types/assign_call.gno:9: cannot use int as string +// main/files/types/assign_call.gno:9:2: cannot use int as string diff --git a/gnovm/tests/files/types/assign_index.gno b/gnovm/tests/files/types/assign_index.gno index 93f4cf0a3c1..8431e5a58ca 100644 --- a/gnovm/tests/files/types/assign_index.gno +++ b/gnovm/tests/files/types/assign_index.gno @@ -11,4 +11,4 @@ func main() { } // Error: -// main/files/types/assign_index.gno:8: cannot use int as string +// main/files/types/assign_index.gno:8:2: cannot use int as string diff --git a/gnovm/tests/files/types/assign_index_a.gno b/gnovm/tests/files/types/assign_index_a.gno index dd92220b1fe..5989fe286b9 100644 --- a/gnovm/tests/files/types/assign_index_a.gno +++ b/gnovm/tests/files/types/assign_index_a.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/types/assign_index_a.gno:6: cannot use int as string +// main/files/types/assign_index_a.gno:6:2: cannot use int as string diff --git a/gnovm/tests/files/types/assign_index_b.gno b/gnovm/tests/files/types/assign_index_b.gno index d8900759cb2..5991891a71e 100644 --- a/gnovm/tests/files/types/assign_index_b.gno +++ b/gnovm/tests/files/types/assign_index_b.gno @@ -11,4 +11,4 @@ func main() { } // Error: -// main/files/types/assign_index_b.gno:8: want bool type got int +// main/files/types/assign_index_b.gno:8:2: want bool type got int diff --git a/gnovm/tests/files/types/assign_index_c.gno b/gnovm/tests/files/types/assign_index_c.gno index 592191189a2..aaf0feb8c03 100644 --- a/gnovm/tests/files/types/assign_index_c.gno +++ b/gnovm/tests/files/types/assign_index_c.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/types/assign_index_c.gno:7: cannot use int as string +// main/files/types/assign_index_c.gno:7:2: cannot use int as string diff --git a/gnovm/tests/files/types/assign_literal.gno b/gnovm/tests/files/types/assign_literal.gno index 61c128fbe1f..636389194cf 100644 --- a/gnovm/tests/files/types/assign_literal.gno +++ b/gnovm/tests/files/types/assign_literal.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/types/assign_literal.gno:4: cannot assign to (const (1 bigint)) +// main/files/types/assign_literal.gno:4:2: cannot assign to (const (1 bigint)) diff --git a/gnovm/tests/files/types/assign_literal10a.gno b/gnovm/tests/files/types/assign_literal10a.gno index f6963d926ee..a0945951eaf 100644 --- a/gnovm/tests/files/types/assign_literal10a.gno +++ b/gnovm/tests/files/types/assign_literal10a.gno @@ -17,4 +17,4 @@ func main() { } // Error: -// main/files/types/assign_literal10a.gno:13: cannot assign to s.add() +// main/files/types/assign_literal10a.gno:13:2: cannot assign to s.add() diff --git a/gnovm/tests/files/types/assign_literal11.gno b/gnovm/tests/files/types/assign_literal11.gno index 821f95422a0..851fe74593d 100644 --- a/gnovm/tests/files/types/assign_literal11.gno +++ b/gnovm/tests/files/types/assign_literal11.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/types/assign_literal11.gno:6: cannot assign to (const (3.14 bigdec)) +// main/files/types/assign_literal11.gno:6:2: cannot assign to (const (3.14 bigdec)) diff --git a/gnovm/tests/files/types/assign_literal2.gno b/gnovm/tests/files/types/assign_literal2.gno index 2e495b6fb78..dd48a156928 100644 --- a/gnovm/tests/files/types/assign_literal2.gno +++ b/gnovm/tests/files/types/assign_literal2.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/assign_literal2.gno:5: cannot assign to (const (2 bigint)) +// main/files/types/assign_literal2.gno:5:2: cannot assign to (const (2 bigint)) diff --git a/gnovm/tests/files/types/assign_literal3.gno b/gnovm/tests/files/types/assign_literal3.gno index 67d4877cd5a..e4a4441853d 100644 --- a/gnovm/tests/files/types/assign_literal3.gno +++ b/gnovm/tests/files/types/assign_literal3.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/types/assign_literal3.gno:4: cannot assign to (const (true bool)) +// main/files/types/assign_literal3.gno:4:2: cannot assign to (const (true bool)) diff --git a/gnovm/tests/files/types/assign_literal4.gno b/gnovm/tests/files/types/assign_literal4.gno index bdae4fa39a5..95d6684aaaf 100644 --- a/gnovm/tests/files/types/assign_literal4.gno +++ b/gnovm/tests/files/types/assign_literal4.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/types/assign_literal4.gno:4: cannot assign to [](const-type int){(const (1 int)), (const (2 int))} +// main/files/types/assign_literal4.gno:4:2: cannot assign to [](const-type int){(const (1 int)), (const (2 int))} diff --git a/gnovm/tests/files/types/assign_literal5.gno b/gnovm/tests/files/types/assign_literal5.gno index da382b8ac1c..b63a6cb9923 100644 --- a/gnovm/tests/files/types/assign_literal5.gno +++ b/gnovm/tests/files/types/assign_literal5.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/types/assign_literal5.gno:4: cannot assign to map[(const-type string)] (const-type int){(const ("a" string)): (const (1 int)), (const ("b" string)): (const (2 int))} +// main/files/types/assign_literal5.gno:4:2: cannot assign to map[(const-type string)] (const-type int){(const ("a" string)): (const (1 int)), (const ("b" string)): (const (2 int))} diff --git a/gnovm/tests/files/types/assign_literal6.gno b/gnovm/tests/files/types/assign_literal6.gno index dfcf9cbb80a..7e12e18744a 100644 --- a/gnovm/tests/files/types/assign_literal6.gno +++ b/gnovm/tests/files/types/assign_literal6.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/types/assign_literal6.gno:4: cannot assign to (const (3 bigint)) +// main/files/types/assign_literal6.gno:4:2: cannot assign to (const (3 bigint)) diff --git a/gnovm/tests/files/types/assign_literal7c.gno b/gnovm/tests/files/types/assign_literal7c.gno index 989dcca6699..06cd61d64b1 100644 --- a/gnovm/tests/files/types/assign_literal7c.gno +++ b/gnovm/tests/files/types/assign_literal7c.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/types/assign_literal7c.gno:7: cannot assign to str[(const (0 int))] +// main/files/types/assign_literal7c.gno:7:2: cannot assign to str[(const (0 int))] diff --git a/gnovm/tests/files/types/assign_nil.gno b/gnovm/tests/files/types/assign_nil.gno index e4012745d4f..8c756da3b60 100644 --- a/gnovm/tests/files/types/assign_nil.gno +++ b/gnovm/tests/files/types/assign_nil.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/types/assign_nil.gno:7: cannot assign to (const (undefined)) +// main/files/types/assign_nil.gno:7:2: cannot assign to (const (undefined)) diff --git a/gnovm/tests/files/types/assign_nil2.gno b/gnovm/tests/files/types/assign_nil2.gno index 8af61a1e496..fd7d509fccc 100644 --- a/gnovm/tests/files/types/assign_nil2.gno +++ b/gnovm/tests/files/types/assign_nil2.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/types/assign_nil2.gno:7: cannot assign to (const (undefined)) +// main/files/types/assign_nil2.gno:7:2: cannot assign to (const (undefined)) diff --git a/gnovm/tests/files/types/assign_range_a.gno b/gnovm/tests/files/types/assign_range_a.gno index 72115771e52..807b01da1f8 100644 --- a/gnovm/tests/files/types/assign_range_a.gno +++ b/gnovm/tests/files/types/assign_range_a.gno @@ -19,4 +19,4 @@ func main() { } // Error: -// main/files/types/assign_range_a.gno:16: cannot use string as int +// main/files/types/assign_range_a.gno:16:2: cannot use string as int diff --git a/gnovm/tests/files/types/assign_range_a1.gno b/gnovm/tests/files/types/assign_range_a1.gno index 4e6ede4ffda..2e882ca189a 100644 --- a/gnovm/tests/files/types/assign_range_a1.gno +++ b/gnovm/tests/files/types/assign_range_a1.gno @@ -19,4 +19,4 @@ func main() { } // Error: -// main/files/types/assign_range_a1.gno:16: cannot assign to (const (6 bigint)) +// main/files/types/assign_range_a1.gno:16:2: cannot assign to (const (6 bigint)) diff --git a/gnovm/tests/files/types/assign_range_b.gno b/gnovm/tests/files/types/assign_range_b.gno index df7fbeb8158..0c822d6f2dd 100644 --- a/gnovm/tests/files/types/assign_range_b.gno +++ b/gnovm/tests/files/types/assign_range_b.gno @@ -17,4 +17,4 @@ func main() { } // Error: -// main/files/types/assign_range_b.gno:14: cannot use string as int +// main/files/types/assign_range_b.gno:14:2: cannot use string as int diff --git a/gnovm/tests/files/types/assign_range_b1.gno b/gnovm/tests/files/types/assign_range_b1.gno index 4632b79b6f0..e51bd5c1376 100644 --- a/gnovm/tests/files/types/assign_range_b1.gno +++ b/gnovm/tests/files/types/assign_range_b1.gno @@ -17,4 +17,4 @@ func main() { } // Error: -// main/files/types/assign_range_b1.gno:14: cannot use string as int +// main/files/types/assign_range_b1.gno:14:2: cannot use string as int diff --git a/gnovm/tests/files/types/assign_range_c.gno b/gnovm/tests/files/types/assign_range_c.gno index 783534bebb4..0611168f9a9 100644 --- a/gnovm/tests/files/types/assign_range_c.gno +++ b/gnovm/tests/files/types/assign_range_c.gno @@ -17,4 +17,4 @@ func main() { } // Error: -// main/files/types/assign_range_c.gno:14: index type should be int, but got float32 +// main/files/types/assign_range_c.gno:14:2: index type should be int, but got float32 diff --git a/gnovm/tests/files/types/assign_range_d.gno b/gnovm/tests/files/types/assign_range_d.gno index 6903cb0b7bc..39e7c9a84bc 100644 --- a/gnovm/tests/files/types/assign_range_d.gno +++ b/gnovm/tests/files/types/assign_range_d.gno @@ -11,4 +11,4 @@ func main() { } // Error: -// main/files/types/assign_range_d.gno:8: index type should be int, but got float32 +// main/files/types/assign_range_d.gno:8:2: index type should be int, but got float32 diff --git a/gnovm/tests/files/types/assign_range_e.gno b/gnovm/tests/files/types/assign_range_e.gno index 7f7f15c5c23..ada9105c181 100644 --- a/gnovm/tests/files/types/assign_range_e.gno +++ b/gnovm/tests/files/types/assign_range_e.gno @@ -12,4 +12,4 @@ func main() { } // Error: -// main/files/types/assign_range_e.gno:8: value type should be int32, but got int +// main/files/types/assign_range_e.gno:8:2: value type should be int32, but got int diff --git a/gnovm/tests/files/types/assign_rune_a.gno b/gnovm/tests/files/types/assign_rune_a.gno index 13321fd8b08..caa7e2b31de 100644 --- a/gnovm/tests/files/types/assign_rune_a.gno +++ b/gnovm/tests/files/types/assign_rune_a.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/types/assign_rune_a.gno:7: cannot use untyped string as Int32Kind +// main/files/types/assign_rune_a.gno:7:2: cannot use untyped string as Int32Kind diff --git a/gnovm/tests/files/types/assign_type_assertion.gno b/gnovm/tests/files/types/assign_type_assertion.gno index 6bc2b4b26c8..de989551235 100644 --- a/gnovm/tests/files/types/assign_type_assertion.gno +++ b/gnovm/tests/files/types/assign_type_assertion.gno @@ -19,4 +19,4 @@ func main() { } // Error: -// main/files/types/assign_type_assertion.gno:13: cannot use string as int +// main/files/types/assign_type_assertion.gno:13:2: cannot use string as int diff --git a/gnovm/tests/files/types/assign_type_assertion_b.gno b/gnovm/tests/files/types/assign_type_assertion_b.gno index 4f68751667d..1cd70bde4ec 100644 --- a/gnovm/tests/files/types/assign_type_assertion_b.gno +++ b/gnovm/tests/files/types/assign_type_assertion_b.gno @@ -29,4 +29,4 @@ func main() { } // Error: -// main/files/types/assign_type_assertion_b.gno:22: cannot use interface{IsSet func()(bool)} as int +// main/files/types/assign_type_assertion_b.gno:22:2: cannot use interface{IsSet func()(bool)} as int diff --git a/gnovm/tests/files/types/assign_type_assertion_c.gno b/gnovm/tests/files/types/assign_type_assertion_c.gno index 044154dadfd..b274497357a 100644 --- a/gnovm/tests/files/types/assign_type_assertion_c.gno +++ b/gnovm/tests/files/types/assign_type_assertion_c.gno @@ -30,4 +30,4 @@ func main() { } // Error: -// main/files/types/assign_type_assertion_c.gno:23: interface{IsSet func()(bool)} does not implement interface{IsNotSet func()(bool)} +// main/files/types/assign_type_assertion_c.gno:23:2: interface{IsSet func()(bool)} does not implement interface{IsNotSet func()(bool)} diff --git a/gnovm/tests/files/types/assign_type_assertion_d.gno b/gnovm/tests/files/types/assign_type_assertion_d.gno index 4ab24f36aac..7d2f2fdf093 100644 --- a/gnovm/tests/files/types/assign_type_assertion_d.gno +++ b/gnovm/tests/files/types/assign_type_assertion_d.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/assign_type_assertion_d.gno:19: cannot use main.Dog as main.Robot without explicit conversion +// main/files/types/assign_type_assertion_d.gno:19:2: cannot use main.Dog as main.Robot without explicit conversion diff --git a/gnovm/tests/files/types/assign_type_assertion_e.gno b/gnovm/tests/files/types/assign_type_assertion_e.gno index fbe91031667..caa82a48891 100644 --- a/gnovm/tests/files/types/assign_type_assertion_e.gno +++ b/gnovm/tests/files/types/assign_type_assertion_e.gno @@ -24,4 +24,4 @@ func main() { } // Error: -// main/files/types/assign_type_assertion_e.gno:20: cannot use main.Dog as main.Robot without explicit conversion +// main/files/types/assign_type_assertion_e.gno:20:2: cannot use main.Dog as main.Robot without explicit conversion diff --git a/gnovm/tests/files/types/assign_type_assertion_f.gno b/gnovm/tests/files/types/assign_type_assertion_f.gno index bc2907eb8af..939d391d74e 100644 --- a/gnovm/tests/files/types/assign_type_assertion_f.gno +++ b/gnovm/tests/files/types/assign_type_assertion_f.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/assign_type_assertion_f.gno:19: cannot assign to (const (1 bigint)) +// main/files/types/assign_type_assertion_f.gno:19:2: cannot assign to (const (1 bigint)) diff --git a/gnovm/tests/files/types/assign_type_assertion_g.gno b/gnovm/tests/files/types/assign_type_assertion_g.gno index 2d3d61c561d..61035d3c8a8 100644 --- a/gnovm/tests/files/types/assign_type_assertion_g.gno +++ b/gnovm/tests/files/types/assign_type_assertion_g.gno @@ -24,4 +24,4 @@ func main() { } // Error: -// main/files/types/assign_type_assertion_g.gno:20: want bool type got int +// main/files/types/assign_type_assertion_g.gno:20:2: want bool type got int diff --git a/gnovm/tests/files/types/bigdec2.gno b/gnovm/tests/files/types/bigdec2.gno index 60048151a31..4b631698f16 100644 --- a/gnovm/tests/files/types/bigdec2.gno +++ b/gnovm/tests/files/types/bigdec2.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/types/bigdec2.gno:7: cannot convert untyped bigdec to integer -- 1.2 not an exact integer +// main/files/types/bigdec2.gno:7:10: cannot convert untyped bigdec to integer -- 1.2 not an exact integer diff --git a/gnovm/tests/files/types/bigdec5.gno b/gnovm/tests/files/types/bigdec5.gno index e3f64e0a8ce..fa133bd4e39 100644 --- a/gnovm/tests/files/types/bigdec5.gno +++ b/gnovm/tests/files/types/bigdec5.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/types/bigdec5.gno:6: cannot convert untyped bigdec to integer -- 1.2 not an exact integer +// main/files/types/bigdec5.gno:6:2: cannot convert untyped bigdec to integer -- 1.2 not an exact integer diff --git a/gnovm/tests/files/types/bigdec_6.gno b/gnovm/tests/files/types/bigdec_6.gno index 5ef078619b5..bf9e0774426 100644 --- a/gnovm/tests/files/types/bigdec_6.gno +++ b/gnovm/tests/files/types/bigdec_6.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/types/bigdec_6.gno:4: operator % not defined on: BigdecKind +// main/files/types/bigdec_6.gno:4:10: operator % not defined on: BigdecKind diff --git a/gnovm/tests/files/types/cmp_array_b.gno b/gnovm/tests/files/types/cmp_array_b.gno index 490a3424965..817f6a605ad 100644 --- a/gnovm/tests/files/types/cmp_array_b.gno +++ b/gnovm/tests/files/types/cmp_array_b.gno @@ -12,4 +12,4 @@ func main() { } // Error: -// main/files/types/cmp_array_b.gno:10: [2][]int is not comparable +// main/files/types/cmp_array_b.gno:10:25: [2][]int is not comparable diff --git a/gnovm/tests/files/types/cmp_array_c.gno b/gnovm/tests/files/types/cmp_array_c.gno index f23ef6c9a78..ee5688766dc 100644 --- a/gnovm/tests/files/types/cmp_array_c.gno +++ b/gnovm/tests/files/types/cmp_array_c.gno @@ -12,4 +12,4 @@ func main() { } // Error: -// main/files/types/cmp_array_c.gno:10: [2][]int is not comparable +// main/files/types/cmp_array_c.gno:10:25: [2][]int is not comparable diff --git a/gnovm/tests/files/types/cmp_poiner.gno b/gnovm/tests/files/types/cmp_pointer.gno similarity index 73% rename from gnovm/tests/files/types/cmp_poiner.gno rename to gnovm/tests/files/types/cmp_pointer.gno index 0d7625a878d..52c3ad6efec 100644 --- a/gnovm/tests/files/types/cmp_poiner.gno +++ b/gnovm/tests/files/types/cmp_pointer.gno @@ -20,4 +20,4 @@ func main() { } // Error: -// main/files/types/cmp_poiner.gno:19: cannot use main.Person as main.Worker without explicit conversion +// main/files/types/cmp_pointer.gno:19:27: cannot use main.Person as main.Worker without explicit conversion diff --git a/gnovm/tests/files/types/cmp_poiner2.gno b/gnovm/tests/files/types/cmp_pointer2.gno similarity index 100% rename from gnovm/tests/files/types/cmp_poiner2.gno rename to gnovm/tests/files/types/cmp_pointer2.gno diff --git a/gnovm/tests/files/types/cmp_struct_a.gno b/gnovm/tests/files/types/cmp_struct_a.gno index 5e8add9f1d6..b545ef70178 100644 --- a/gnovm/tests/files/types/cmp_struct_a.gno +++ b/gnovm/tests/files/types/cmp_struct_a.gno @@ -17,4 +17,4 @@ func main() { } // Error: -// main/files/types/cmp_struct_a.gno:15: [2][]int is not comparable +// main/files/types/cmp_struct_a.gno:15:25: [2][]int is not comparable diff --git a/gnovm/tests/files/types/cmp_struct_b.gno b/gnovm/tests/files/types/cmp_struct_b.gno index f767fec16d5..eb3de3e3cc1 100644 --- a/gnovm/tests/files/types/cmp_struct_b.gno +++ b/gnovm/tests/files/types/cmp_struct_b.gno @@ -16,4 +16,4 @@ func main() { } // Error: -// main/files/types/cmp_struct_b.gno:15: cannot use main.foo as main.bar without explicit conversion +// main/files/types/cmp_struct_b.gno:15:10: cannot use main.foo as main.bar without explicit conversion diff --git a/gnovm/tests/files/types/cmp_struct_c.gno b/gnovm/tests/files/types/cmp_struct_c.gno index 4894e32d0e5..3ed31109260 100644 --- a/gnovm/tests/files/types/cmp_struct_c.gno +++ b/gnovm/tests/files/types/cmp_struct_c.gno @@ -16,4 +16,4 @@ func main() { } // Error: -// main/files/types/cmp_struct_c.gno:15: main.bar is not comparable \ No newline at end of file +// main/files/types/cmp_struct_c.gno:15:10: main.bar is not comparable diff --git a/gnovm/tests/files/types/cmp_struct_c1.gno b/gnovm/tests/files/types/cmp_struct_c1.gno index 3cb4b835dcd..5220abe4662 100644 --- a/gnovm/tests/files/types/cmp_struct_c1.gno +++ b/gnovm/tests/files/types/cmp_struct_c1.gno @@ -16,4 +16,4 @@ func main() { } // Error: -// main/files/types/cmp_struct_c1.gno:15: cannot use main.bar as main.foo without explicit conversion +// main/files/types/cmp_struct_c1.gno:15:10: cannot use main.bar as main.foo without explicit conversion diff --git a/gnovm/tests/files/types/cmp_struct_d.gno b/gnovm/tests/files/types/cmp_struct_d.gno index 4c2f6eb848f..19e0c4229b1 100644 --- a/gnovm/tests/files/types/cmp_struct_d.gno +++ b/gnovm/tests/files/types/cmp_struct_d.gno @@ -16,4 +16,4 @@ func main() { } // Error: -// main/files/types/cmp_struct_d.gno:15: main.bar is not comparable +// main/files/types/cmp_struct_d.gno:15:10: main.bar is not comparable diff --git a/gnovm/tests/files/types/cmp_struct_e.gno b/gnovm/tests/files/types/cmp_struct_e.gno index 4640c0e4252..46e4b332a58 100644 --- a/gnovm/tests/files/types/cmp_struct_e.gno +++ b/gnovm/tests/files/types/cmp_struct_e.gno @@ -12,4 +12,4 @@ func main() { } // Error: -// main/files/types/cmp_struct_e.gno:11: main.foo is not comparable +// main/files/types/cmp_struct_e.gno:11:10: main.foo is not comparable diff --git a/gnovm/tests/files/types/cmp_struct_g.gno b/gnovm/tests/files/types/cmp_struct_g.gno index 05224000f05..4d296d7b0a7 100644 --- a/gnovm/tests/files/types/cmp_struct_g.gno +++ b/gnovm/tests/files/types/cmp_struct_g.gno @@ -18,4 +18,4 @@ func main() { } // Error: -// main/files/types/cmp_struct_g.gno:17: cannot use main.Person as main.Dog without explicit conversion +// main/files/types/cmp_struct_g.gno:17:25: cannot use main.Person as main.Dog without explicit conversion diff --git a/gnovm/tests/files/types/eql_0a0.gno b/gnovm/tests/files/types/eql_0a0.gno index 32e5473b34f..0a9695aa3e6 100644 --- a/gnovm/tests/files/types/eql_0a0.gno +++ b/gnovm/tests/files/types/eql_0a0.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/eql_0a0.gno:5: cannot use int as int8 +// main/files/types/eql_0a0.gno:5:10: cannot use int as int8 diff --git a/gnovm/tests/files/types/eql_0a01.gno b/gnovm/tests/files/types/eql_0a01.gno index e5cdeff4b63..b394e13aecf 100644 --- a/gnovm/tests/files/types/eql_0a01.gno +++ b/gnovm/tests/files/types/eql_0a01.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/types/eql_0a01.gno:4: is not comparable +// main/files/types/eql_0a01.gno:4:10: is not comparable diff --git a/gnovm/tests/files/types/eql_0a02.gno b/gnovm/tests/files/types/eql_0a02.gno index 67116da6cc8..86668812731 100644 --- a/gnovm/tests/files/types/eql_0a02.gno +++ b/gnovm/tests/files/types/eql_0a02.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/types/eql_0a02.gno:7: cannot use *int as string +// main/files/types/eql_0a02.gno:7:10: cannot use *int as string diff --git a/gnovm/tests/files/types/eql_0a03.gno b/gnovm/tests/files/types/eql_0a03.gno index 677493a9af6..d9a32304a3b 100644 --- a/gnovm/tests/files/types/eql_0a03.gno +++ b/gnovm/tests/files/types/eql_0a03.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/types/eql_0a03.gno:8: cannot use int8 as int +// main/files/types/eql_0a03.gno:8:10: cannot use int8 as int diff --git a/gnovm/tests/files/types/eql_0a1.gno b/gnovm/tests/files/types/eql_0a1.gno index 9641e67c90a..fef2654b1ec 100644 --- a/gnovm/tests/files/types/eql_0a1.gno +++ b/gnovm/tests/files/types/eql_0a1.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/eql_0a1.gno:5: cannot use int as int8 +// main/files/types/eql_0a1.gno:5:10: cannot use int as int8 diff --git a/gnovm/tests/files/types/eql_0a1a0.gno b/gnovm/tests/files/types/eql_0a1a0.gno index e251174adef..eaa099fc067 100644 --- a/gnovm/tests/files/types/eql_0a1a0.gno +++ b/gnovm/tests/files/types/eql_0a1a0.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/eql_0a1a0.gno:5: cannot use uint64 as uint +// main/files/types/eql_0a1a0.gno:5:10: cannot use uint64 as uint diff --git a/gnovm/tests/files/types/eql_0a1a1.gno b/gnovm/tests/files/types/eql_0a1a1.gno index 0af8aa45943..34c59fe1dcc 100644 --- a/gnovm/tests/files/types/eql_0a1a1.gno +++ b/gnovm/tests/files/types/eql_0a1a1.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/eql_0a1a1.gno:5: cannot use uint as uint64 +// main/files/types/eql_0a1a1.gno:5:10: cannot use uint as uint64 diff --git a/gnovm/tests/files/types/eql_0a1f.gno b/gnovm/tests/files/types/eql_0a1f.gno index fda84dcdff8..27ac5ffc761 100644 --- a/gnovm/tests/files/types/eql_0a1f.gno +++ b/gnovm/tests/files/types/eql_0a1f.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/eql_0a1f.gno:6: cannot use int as string +// main/files/types/eql_0a1f.gno:6:10: cannot use int as string diff --git a/gnovm/tests/files/types/eql_0a1g.gno b/gnovm/tests/files/types/eql_0a1g.gno index d80b6e0c9ac..a77c1146cac 100644 --- a/gnovm/tests/files/types/eql_0a1g.gno +++ b/gnovm/tests/files/types/eql_0a1g.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/eql_0a1g.gno:6: cannot use int as float32 +// main/files/types/eql_0a1g.gno:6:10: cannot use int as float32 diff --git a/gnovm/tests/files/types/eql_0a2.gno b/gnovm/tests/files/types/eql_0a2.gno index 281a61e50eb..41eaf4d28de 100644 --- a/gnovm/tests/files/types/eql_0a2.gno +++ b/gnovm/tests/files/types/eql_0a2.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/eql_0a2.gno:21: cannot use main.Error1 as main.Error2 without explicit conversion +// main/files/types/eql_0a2.gno:21:10: cannot use main.Error1 as main.Error2 without explicit conversion diff --git a/gnovm/tests/files/types/eql_0a3.gno b/gnovm/tests/files/types/eql_0a3.gno index 198a65b0827..5aff635337d 100644 --- a/gnovm/tests/files/types/eql_0a3.gno +++ b/gnovm/tests/files/types/eql_0a3.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/eql_0a3.gno:21: cannot use main.Error1 as main.Error2 without explicit conversion +// main/files/types/eql_0a3.gno:21:10: cannot use main.Error1 as main.Error2 without explicit conversion diff --git a/gnovm/tests/files/types/eql_0a4.gno b/gnovm/tests/files/types/eql_0a4.gno index d2c859edd09..8ed3f753368 100644 --- a/gnovm/tests/files/types/eql_0a4.gno +++ b/gnovm/tests/files/types/eql_0a4.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/eql_0a4.gno:21: cannot use main.Error1 as main.Error2 without explicit conversion +// main/files/types/eql_0a4.gno:21:10: cannot use main.Error1 as main.Error2 without explicit conversion diff --git a/gnovm/tests/files/types/eql_0b2.gno b/gnovm/tests/files/types/eql_0b2.gno index 51981348a6e..4c7dee53fe6 100644 --- a/gnovm/tests/files/types/eql_0b2.gno +++ b/gnovm/tests/files/types/eql_0b2.gno @@ -19,4 +19,4 @@ func main() { } // Error: -// main/files/types/eql_0b2.gno:14: cannot use untyped Bigint as StringKind +// main/files/types/eql_0b2.gno:14:5: cannot use untyped Bigint as StringKind diff --git a/gnovm/tests/files/types/eql_0b4_native.gno b/gnovm/tests/files/types/eql_0b4_native.gno index b78d5f9be73..7c7baf01924 100644 --- a/gnovm/tests/files/types/eql_0b4_native.gno +++ b/gnovm/tests/files/types/eql_0b4_native.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/types/eql_0b4_native.gno:9: unexpected type pair: cannot use bigint as gonative{error} +// main/files/types/eql_0b4_native.gno:9:10: unexpected type pair: cannot use bigint as gonative{error} diff --git a/gnovm/tests/files/types/eql_0b4_stdlibs.gno b/gnovm/tests/files/types/eql_0b4_stdlibs.gno index de36f025f34..70f5bf31296 100644 --- a/gnovm/tests/files/types/eql_0b4_stdlibs.gno +++ b/gnovm/tests/files/types/eql_0b4_stdlibs.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/types/eql_0b4_stdlibs.gno:9: bigint does not implement .uverse.error +// main/files/types/eql_0b4_stdlibs.gno:9:10: bigint does not implement .uverse.error diff --git a/gnovm/tests/files/types/eql_0c2.gno b/gnovm/tests/files/types/eql_0c2.gno index 6ac4a2799ab..f36ec92311c 100644 --- a/gnovm/tests/files/types/eql_0c2.gno +++ b/gnovm/tests/files/types/eql_0c2.gno @@ -21,4 +21,4 @@ func main() { } // Error: -// main/files/types/eql_0c2.gno:16: bigint overflows target kind +// main/files/types/eql_0c2.gno:16:5: bigint overflows target kind diff --git a/gnovm/tests/files/types/eql_0e0.gno b/gnovm/tests/files/types/eql_0e0.gno index a1ab28d1932..d12c43066f8 100644 --- a/gnovm/tests/files/types/eql_0e0.gno +++ b/gnovm/tests/files/types/eql_0e0.gno @@ -24,4 +24,4 @@ func main() { } // Error: -// main/files/types/eql_0e0.gno:23: cannot use main.Error1 as main.Error2 without explicit conversion +// main/files/types/eql_0e0.gno:23:10: cannot use main.Error1 as main.Error2 without explicit conversion diff --git a/gnovm/tests/files/types/eql_0e1.gno b/gnovm/tests/files/types/eql_0e1.gno index 798d4f04777..fe8f6d21a39 100644 --- a/gnovm/tests/files/types/eql_0e1.gno +++ b/gnovm/tests/files/types/eql_0e1.gno @@ -24,4 +24,4 @@ func main() { } // Error: -// main/files/types/eql_0e1.gno:23: cannot use main.Error1 as main.Error2 without explicit conversion +// main/files/types/eql_0e1.gno:23:10: cannot use main.Error1 as main.Error2 without explicit conversion diff --git a/gnovm/tests/files/types/eql_0f0_native.gno b/gnovm/tests/files/types/eql_0f0_native.gno index 7db72819774..e32325f5cf6 100644 --- a/gnovm/tests/files/types/eql_0f0_native.gno +++ b/gnovm/tests/files/types/eql_0f0_native.gno @@ -25,4 +25,4 @@ func main() { } // Error: -// main/files/types/eql_0f0_native.gno:19: unexpected type pair: cannot use bigint as gonative{error} +// main/files/types/eql_0f0_native.gno:19:5: unexpected type pair: cannot use bigint as gonative{error} diff --git a/gnovm/tests/files/types/eql_0f0_stdlibs.gno b/gnovm/tests/files/types/eql_0f0_stdlibs.gno index 39a7ac68490..bbd49d6cf93 100644 --- a/gnovm/tests/files/types/eql_0f0_stdlibs.gno +++ b/gnovm/tests/files/types/eql_0f0_stdlibs.gno @@ -25,4 +25,4 @@ func main() { } // Error: -// main/files/types/eql_0f0_stdlibs.gno:19: bigint does not implement .uverse.error +// main/files/types/eql_0f0_stdlibs.gno:19:5: bigint does not implement .uverse.error diff --git a/gnovm/tests/files/types/eql_0f14.gno b/gnovm/tests/files/types/eql_0f14.gno index 500157d7303..babae912de9 100644 --- a/gnovm/tests/files/types/eql_0f14.gno +++ b/gnovm/tests/files/types/eql_0f14.gno @@ -11,4 +11,4 @@ func main() { } // Error: -// main/files/types/eql_0f14.gno:10: cannot use [2]string as [2]int +// main/files/types/eql_0f14.gno:10:10: cannot use [2]string as [2]int diff --git a/gnovm/tests/files/types/eql_0f16.gno b/gnovm/tests/files/types/eql_0f16.gno index ae0d8f45ab6..d5654fd6c45 100644 --- a/gnovm/tests/files/types/eql_0f16.gno +++ b/gnovm/tests/files/types/eql_0f16.gno @@ -17,4 +17,4 @@ func main() { } // Error: -// main/files/types/eql_0f16.gno:16: [2]main.word is not comparable +// main/files/types/eql_0f16.gno:16:10: [2]main.word is not comparable diff --git a/gnovm/tests/files/types/eql_0f17.gno b/gnovm/tests/files/types/eql_0f17.gno index d60d474f668..ecb9800ce4d 100644 --- a/gnovm/tests/files/types/eql_0f17.gno +++ b/gnovm/tests/files/types/eql_0f17.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/types/eql_0f17.gno:9: main.f can only be compared to nil +// main/files/types/eql_0f17.gno:9:10: main.f can only be compared to nil diff --git a/gnovm/tests/files/types/eql_0f1_stdlibs.gno b/gnovm/tests/files/types/eql_0f1_stdlibs.gno index e0b8ec5c753..f3feffa7ec6 100644 --- a/gnovm/tests/files/types/eql_0f1_stdlibs.gno +++ b/gnovm/tests/files/types/eql_0f1_stdlibs.gno @@ -25,4 +25,4 @@ func main() { } // Error: -// main/files/types/eql_0f1_stdlibs.gno:19: int64 does not implement .uverse.error +// main/files/types/eql_0f1_stdlibs.gno:19:5: int64 does not implement .uverse.error diff --git a/gnovm/tests/files/types/eql_0f20.gno b/gnovm/tests/files/types/eql_0f20.gno index f0e2e93ffc9..9d5fe9e2681 100644 --- a/gnovm/tests/files/types/eql_0f20.gno +++ b/gnovm/tests/files/types/eql_0f20.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/types/eql_0f20.gno:9: [2]main.f is not comparable +// main/files/types/eql_0f20.gno:9:10: [2]main.f is not comparable diff --git a/gnovm/tests/files/types/eql_0f21.gno b/gnovm/tests/files/types/eql_0f21.gno index 20b52988a8d..09d8abb48c3 100644 --- a/gnovm/tests/files/types/eql_0f21.gno +++ b/gnovm/tests/files/types/eql_0f21.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/types/eql_0f21.gno:9: [2]main.f is not comparable +// main/files/types/eql_0f21.gno:9:10: [2]main.f is not comparable diff --git a/gnovm/tests/files/types/eql_0f27_stdlibs.gno b/gnovm/tests/files/types/eql_0f27_stdlibs.gno index 2bee791279a..188153aeb51 100644 --- a/gnovm/tests/files/types/eql_0f27_stdlibs.gno +++ b/gnovm/tests/files/types/eql_0f27_stdlibs.gno @@ -18,4 +18,4 @@ func main() { } // Error: -// main/files/types/eql_0f27_stdlibs.gno:13: operator > not defined on: InterfaceKind +// main/files/types/eql_0f27_stdlibs.gno:13:5: operator > not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/eql_0f28.gno b/gnovm/tests/files/types/eql_0f28.gno index 64f973cdde0..c27bcce9286 100644 --- a/gnovm/tests/files/types/eql_0f28.gno +++ b/gnovm/tests/files/types/eql_0f28.gno @@ -28,4 +28,4 @@ func main() { } // Error: -// main/files/types/eql_0f28.gno:27: operator > not defined on: InterfaceKind +// main/files/types/eql_0f28.gno:27:10: operator > not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/eql_0f29.gno b/gnovm/tests/files/types/eql_0f29.gno index b5d1e897b89..e754c026c81 100644 --- a/gnovm/tests/files/types/eql_0f29.gno +++ b/gnovm/tests/files/types/eql_0f29.gno @@ -21,4 +21,4 @@ func main() { } // Error: -// main/files/types/eql_0f29.gno:16: operator > not defined on: InterfaceKind +// main/files/types/eql_0f29.gno:16:5: operator > not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/eql_0f2b_native.gno b/gnovm/tests/files/types/eql_0f2b_native.gno index fe961441328..9de6155c5be 100644 --- a/gnovm/tests/files/types/eql_0f2b_native.gno +++ b/gnovm/tests/files/types/eql_0f2b_native.gno @@ -25,4 +25,4 @@ func main() { } // Error: -// main/files/types/eql_0f2b_native.gno:19: operator <= not defined on: InterfaceKind +// main/files/types/eql_0f2b_native.gno:19:5: operator <= not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/eql_0f2b_stdlibs.gno b/gnovm/tests/files/types/eql_0f2b_stdlibs.gno index 20de4b5b104..ac3616d163d 100644 --- a/gnovm/tests/files/types/eql_0f2b_stdlibs.gno +++ b/gnovm/tests/files/types/eql_0f2b_stdlibs.gno @@ -25,4 +25,4 @@ func main() { } // Error: -// main/files/types/eql_0f2b_stdlibs.gno:19: operator <= not defined on: InterfaceKind +// main/files/types/eql_0f2b_stdlibs.gno:19:5: operator <= not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/eql_0f2c_native.gno b/gnovm/tests/files/types/eql_0f2c_native.gno index c17c757b760..edd5ac3f23a 100644 --- a/gnovm/tests/files/types/eql_0f2c_native.gno +++ b/gnovm/tests/files/types/eql_0f2c_native.gno @@ -25,4 +25,4 @@ func main() { } // Error: -// main/files/types/eql_0f2c_native.gno:19: operator < not defined on: InterfaceKind +// main/files/types/eql_0f2c_native.gno:19:5: operator < not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/eql_0f2c_stdlibs.gno b/gnovm/tests/files/types/eql_0f2c_stdlibs.gno index f8da518f4a9..3a6ac3395b6 100644 --- a/gnovm/tests/files/types/eql_0f2c_stdlibs.gno +++ b/gnovm/tests/files/types/eql_0f2c_stdlibs.gno @@ -25,4 +25,4 @@ func main() { } // Error: -// main/files/types/eql_0f2c_stdlibs.gno:19: operator < not defined on: InterfaceKind +// main/files/types/eql_0f2c_stdlibs.gno:19:5: operator < not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/eql_0f30.gno b/gnovm/tests/files/types/eql_0f30.gno index 0a9a61a96cf..562122db2a7 100644 --- a/gnovm/tests/files/types/eql_0f30.gno +++ b/gnovm/tests/files/types/eql_0f30.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/eql_0f30.gno:5: []uint8 can only be compared to nil +// main/files/types/eql_0f30.gno:5:10: []uint8 can only be compared to nil diff --git a/gnovm/tests/files/types/eql_0f30a.gno b/gnovm/tests/files/types/eql_0f30a.gno index 2dadbd9d6d3..7605ca38e0f 100644 --- a/gnovm/tests/files/types/eql_0f30a.gno +++ b/gnovm/tests/files/types/eql_0f30a.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/types/eql_0f30a.gno:4: map[string]int can only be compared to nil +// main/files/types/eql_0f30a.gno:4:10: map[string]int can only be compared to nil diff --git a/gnovm/tests/files/types/eql_0f30b.gno b/gnovm/tests/files/types/eql_0f30b.gno index 2e7a463fddd..a9c8247d451 100644 --- a/gnovm/tests/files/types/eql_0f30b.gno +++ b/gnovm/tests/files/types/eql_0f30b.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/types/eql_0f30b.gno:9: main.f can only be compared to nil +// main/files/types/eql_0f30b.gno:9:10: main.f can only be compared to nil diff --git a/gnovm/tests/files/types/eql_0f30d.gno b/gnovm/tests/files/types/eql_0f30d.gno index 8b0612f011b..4bbf7e0087f 100644 --- a/gnovm/tests/files/types/eql_0f30d.gno +++ b/gnovm/tests/files/types/eql_0f30d.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/types/eql_0f30d.gno:4: []int can only be compared to nil +// main/files/types/eql_0f30d.gno:4:10: []int can only be compared to nil diff --git a/gnovm/tests/files/types/eql_0f30f.gno b/gnovm/tests/files/types/eql_0f30f.gno index 880b081b6cd..9e2eca70d17 100644 --- a/gnovm/tests/files/types/eql_0f30f.gno +++ b/gnovm/tests/files/types/eql_0f30f.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/types/eql_0f30f.gno:7: cannot use [2]int as [3]int +// main/files/types/eql_0f30f.gno:7:10: cannot use [2]int as [3]int diff --git a/gnovm/tests/files/types/eql_0f30g.gno b/gnovm/tests/files/types/eql_0f30g.gno index 66135a83b62..558e09921f5 100644 --- a/gnovm/tests/files/types/eql_0f30g.gno +++ b/gnovm/tests/files/types/eql_0f30g.gno @@ -8,4 +8,4 @@ func main() { } // Error: -// main/files/types/eql_0f30g.gno:7: []int can only be compared to nil +// main/files/types/eql_0f30g.gno:7:10: []int can only be compared to nil diff --git a/gnovm/tests/files/types/eql_0f41_stdlibs.gno b/gnovm/tests/files/types/eql_0f41_stdlibs.gno index 679cb1f9295..f4d35a2af4b 100644 --- a/gnovm/tests/files/types/eql_0f41_stdlibs.gno +++ b/gnovm/tests/files/types/eql_0f41_stdlibs.gno @@ -32,4 +32,4 @@ func main() { } // Error: -// main/files/types/eql_0f41_stdlibs.gno:27: main.animal does not implement .uverse.error +// main/files/types/eql_0f41_stdlibs.gno:27:5: main.animal does not implement .uverse.error diff --git a/gnovm/tests/files/types/eql_0f8_stdlibs.gno b/gnovm/tests/files/types/eql_0f8_stdlibs.gno index 400ce3c6d1e..1ab191c59c4 100644 --- a/gnovm/tests/files/types/eql_0f8_stdlibs.gno +++ b/gnovm/tests/files/types/eql_0f8_stdlibs.gno @@ -24,4 +24,4 @@ func main() { } // Error: -// main/files/types/eql_0f8_stdlibs.gno:19: int64 does not implement .uverse.error +// main/files/types/eql_0f8_stdlibs.gno:19:5: int64 does not implement .uverse.error diff --git a/gnovm/tests/files/types/incdec_a1.gno b/gnovm/tests/files/types/incdec_a1.gno index ee9d2b18c7e..027ea1c9843 100644 --- a/gnovm/tests/files/types/incdec_a1.gno +++ b/gnovm/tests/files/types/incdec_a1.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/incdec_a1.gno:5: operator ++ not defined on: StringKind +// main/files/types/incdec_a1.gno:5:2: operator ++ not defined on: StringKind diff --git a/gnovm/tests/files/types/incdec_a4.gno b/gnovm/tests/files/types/incdec_a4.gno index 5f87eb5c09c..2c33df97c67 100644 --- a/gnovm/tests/files/types/incdec_a4.gno +++ b/gnovm/tests/files/types/incdec_a4.gno @@ -15,4 +15,4 @@ func main() { } // Error: -// main/files/types/incdec_a4.gno:12: cannot use int8 as main.Int without explicit conversion +// main/files/types/incdec_a4.gno:12:2: cannot use int8 as main.Int without explicit conversion diff --git a/gnovm/tests/files/types/nil.gno b/gnovm/tests/files/types/nil.gno index a836d328dfe..a67ad119cac 100644 --- a/gnovm/tests/files/types/nil.gno +++ b/gnovm/tests/files/types/nil.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/nil.gno:5: operator + not defined on: nil +// main/files/types/nil.gno:5:10: operator + not defined on: nil diff --git a/gnovm/tests/files/types/or_a0.gno b/gnovm/tests/files/types/or_a0.gno index b2f14c73785..9896d733c00 100644 --- a/gnovm/tests/files/types/or_a0.gno +++ b/gnovm/tests/files/types/or_a0.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/or_a0.gno:5: invalid operation: mismatched types int and int8 +// main/files/types/or_a0.gno:5:10: invalid operation: mismatched types int and int8 diff --git a/gnovm/tests/files/types/or_a1.gno b/gnovm/tests/files/types/or_a1.gno index c2e7bff0d5d..259eacb4387 100644 --- a/gnovm/tests/files/types/or_a1.gno +++ b/gnovm/tests/files/types/or_a1.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/or_a1.gno:21: invalid operation: mismatched types main.Error1 and main.Error2 +// main/files/types/or_a1.gno:21:10: invalid operation: mismatched types main.Error1 and main.Error2 diff --git a/gnovm/tests/files/types/or_b2.gno b/gnovm/tests/files/types/or_b2.gno index 0bdf3e0a73a..88f6178a164 100644 --- a/gnovm/tests/files/types/or_b2.gno +++ b/gnovm/tests/files/types/or_b2.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/or_b2.gno:5: operator | not defined on: StringKind +// main/files/types/or_b2.gno:5:10: operator | not defined on: StringKind diff --git a/gnovm/tests/files/types/or_b3.gno b/gnovm/tests/files/types/or_b3.gno index 4b6f20530cd..77ba41a72c7 100644 --- a/gnovm/tests/files/types/or_b3.gno +++ b/gnovm/tests/files/types/or_b3.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/or_b3.gno:5: operator | not defined on: StringKind +// main/files/types/or_b3.gno:5:10: operator | not defined on: StringKind diff --git a/gnovm/tests/files/types/or_d0.gno b/gnovm/tests/files/types/or_d0.gno index 827e29a8fba..771a0cbe9f7 100644 --- a/gnovm/tests/files/types/or_d0.gno +++ b/gnovm/tests/files/types/or_d0.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/or_d0.gno:6: operator | not defined on: BigdecKind +// main/files/types/or_d0.gno:6:10: operator | not defined on: BigdecKind diff --git a/gnovm/tests/files/types/or_d4.gno b/gnovm/tests/files/types/or_d4.gno index f1240f32c71..9a1fc007b66 100644 --- a/gnovm/tests/files/types/or_d4.gno +++ b/gnovm/tests/files/types/or_d4.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/or_d4.gno:6: operator | not defined on: BigdecKind +// main/files/types/or_d4.gno:6:10: operator | not defined on: BigdecKind diff --git a/gnovm/tests/files/types/or_e0.gno b/gnovm/tests/files/types/or_e0.gno index 555ee5ad37b..294e4bfbefb 100644 --- a/gnovm/tests/files/types/or_e0.gno +++ b/gnovm/tests/files/types/or_e0.gno @@ -24,4 +24,4 @@ func main() { } // Error: -// main/files/types/or_e0.gno:23: invalid operation: mismatched types main.Error1 and main.Error2 +// main/files/types/or_e0.gno:23:10: invalid operation: mismatched types main.Error1 and main.Error2 diff --git a/gnovm/tests/files/types/or_f0_stdlibs.gno b/gnovm/tests/files/types/or_f0_stdlibs.gno index d2a080e0bab..8e6fb54772a 100644 --- a/gnovm/tests/files/types/or_f0_stdlibs.gno +++ b/gnovm/tests/files/types/or_f0_stdlibs.gno @@ -20,4 +20,4 @@ func main() { } // Error: -// main/files/types/or_f0_stdlibs.gno:19: operator | not defined on: InterfaceKind +// main/files/types/or_f0_stdlibs.gno:19:10: operator | not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/or_f1_stdlibs.gno b/gnovm/tests/files/types/or_f1_stdlibs.gno index 9cc9eb5157b..5013126c9fa 100644 --- a/gnovm/tests/files/types/or_f1_stdlibs.gno +++ b/gnovm/tests/files/types/or_f1_stdlibs.gno @@ -20,4 +20,4 @@ func main() { } // Error: -// main/files/types/or_f1_stdlibs.gno:19: operator | not defined on: InterfaceKind +// main/files/types/or_f1_stdlibs.gno:19:10: operator | not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/or_f2.gno b/gnovm/tests/files/types/or_f2.gno index 284078f41d4..893025062bf 100644 --- a/gnovm/tests/files/types/or_f2.gno +++ b/gnovm/tests/files/types/or_f2.gno @@ -28,4 +28,4 @@ func main() { } // Error: -// main/files/types/or_f2.gno:27: operator | not defined on: InterfaceKind +// main/files/types/or_f2.gno:27:10: operator | not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/rem_a0.gno b/gnovm/tests/files/types/rem_a0.gno index 7ba0f66f533..52fd7f9e8d1 100644 --- a/gnovm/tests/files/types/rem_a0.gno +++ b/gnovm/tests/files/types/rem_a0.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/rem_a0.gno:5: invalid operation: mismatched types int and int8 +// main/files/types/rem_a0.gno:5:10: invalid operation: mismatched types int and int8 diff --git a/gnovm/tests/files/types/rem_a1.gno b/gnovm/tests/files/types/rem_a1.gno index edea73382ce..5b43f854ba0 100644 --- a/gnovm/tests/files/types/rem_a1.gno +++ b/gnovm/tests/files/types/rem_a1.gno @@ -22,4 +22,4 @@ func main() { } // Error: -// main/files/types/rem_a1.gno:21: invalid operation: mismatched types main.Error1 and main.Error2 +// main/files/types/rem_a1.gno:21:10: invalid operation: mismatched types main.Error1 and main.Error2 diff --git a/gnovm/tests/files/types/rem_a2.gno b/gnovm/tests/files/types/rem_a2.gno index 3ebba194c0a..26ce6599269 100644 --- a/gnovm/tests/files/types/rem_a2.gno +++ b/gnovm/tests/files/types/rem_a2.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/types/rem_a2.gno:4: invalid operation: division by zero +// main/files/types/rem_a2.gno:4:10: invalid operation: division by zero diff --git a/gnovm/tests/files/types/rem_f3.gno b/gnovm/tests/files/types/rem_f3.gno index e34dfab9ae0..3d258975561 100644 --- a/gnovm/tests/files/types/rem_f3.gno +++ b/gnovm/tests/files/types/rem_f3.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/rem_f3.gno:5: invalid operation: division by zero +// main/files/types/rem_f3.gno:5:10: invalid operation: division by zero diff --git a/gnovm/tests/files/types/runtime_a0.gno b/gnovm/tests/files/types/runtime_a0.gno index 7d6312e5b9c..7a3fcf3e5a2 100644 --- a/gnovm/tests/files/types/runtime_a0.gno +++ b/gnovm/tests/files/types/runtime_a0.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/runtime_a0.gno:5: operator ++ not defined on: BoolKind +// main/files/types/runtime_a0.gno:5:2: operator ++ not defined on: BoolKind diff --git a/gnovm/tests/files/types/runtime_a3.gno b/gnovm/tests/files/types/runtime_a3.gno index d46a83a1c35..4e319021f33 100644 --- a/gnovm/tests/files/types/runtime_a3.gno +++ b/gnovm/tests/files/types/runtime_a3.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/types/runtime_a3.gno:8: operator ++ not defined on: InterfaceKind +// main/files/types/runtime_a3.gno:8:2: operator ++ not defined on: InterfaceKind diff --git a/gnovm/tests/files/types/shift_a11.gno b/gnovm/tests/files/types/shift_a11.gno index 2d3c935e97d..2fbcb86b682 100644 --- a/gnovm/tests/files/types/shift_a11.gno +++ b/gnovm/tests/files/types/shift_a11.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/shift_a11.gno:3: cannot convert StringKind to UintKind +// main/files/types/shift_a11.gno:3:1: cannot convert StringKind to UintKind diff --git a/gnovm/tests/files/types/shift_a14.gno b/gnovm/tests/files/types/shift_a14.gno index f879da5f3f9..60fc10211de 100644 --- a/gnovm/tests/files/types/shift_a14.gno +++ b/gnovm/tests/files/types/shift_a14.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/shift_a14.gno:5: operator << not defined on: StringKind +// main/files/types/shift_a14.gno:5:7: operator << not defined on: StringKind diff --git a/gnovm/tests/files/types/shift_a15.gno b/gnovm/tests/files/types/shift_a15.gno index b86445f3e75..58f6814bb12 100644 --- a/gnovm/tests/files/types/shift_a15.gno +++ b/gnovm/tests/files/types/shift_a15.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/shift_a15.gno:6: operator <<= not defined on: StringKind +// main/files/types/shift_a15.gno:6:2: operator <<= not defined on: StringKind diff --git a/gnovm/tests/files/types/shift_a16.gno b/gnovm/tests/files/types/shift_a16.gno index ed41f35f20d..d3b15be5427 100644 --- a/gnovm/tests/files/types/shift_a16.gno +++ b/gnovm/tests/files/types/shift_a16.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/shift_a16.gno:4: operator << not defined on: StringKind +// main/files/types/shift_a16.gno:4:7: operator << not defined on: StringKind diff --git a/gnovm/tests/files/types/shift_a3.gno b/gnovm/tests/files/types/shift_a3.gno index 79d5c566f1d..32780e2724a 100644 --- a/gnovm/tests/files/types/shift_a3.gno +++ b/gnovm/tests/files/types/shift_a3.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/shift_a3.gno:5: bigint overflows target kind +// main/files/types/shift_a3.gno:5:2: bigint overflows target kind diff --git a/gnovm/tests/files/types/shift_a5.gno b/gnovm/tests/files/types/shift_a5.gno index 0394f8a2f3f..a0b7652c6d1 100644 --- a/gnovm/tests/files/types/shift_a5.gno +++ b/gnovm/tests/files/types/shift_a5.gno @@ -7,4 +7,4 @@ func main() { } // Error: -// main/files/types/shift_a5.gno:5: operator << not defined on: BigdecKind +// main/files/types/shift_a5.gno:5:10: operator << not defined on: BigdecKind diff --git a/gnovm/tests/files/types/shift_a7.gno b/gnovm/tests/files/types/shift_a7.gno index 5cad6897a21..62151c5cfc5 100644 --- a/gnovm/tests/files/types/shift_a7.gno +++ b/gnovm/tests/files/types/shift_a7.gno @@ -6,4 +6,4 @@ func main() { } // Error: -// main/files/types/shift_a7.gno:3: cannot convert StringKind to UintKind +// main/files/types/shift_a7.gno:3:1: cannot convert StringKind to UintKind diff --git a/gnovm/tests/files/types/unary_a0c.gno b/gnovm/tests/files/types/unary_a0c.gno index 9f1fa057357..b782898f62d 100644 --- a/gnovm/tests/files/types/unary_a0c.gno +++ b/gnovm/tests/files/types/unary_a0c.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/types/unary_a0c.gno:7: operator + not defined on: StringKind +// main/files/types/unary_a0c.gno:7:7: operator + not defined on: StringKind diff --git a/gnovm/tests/files/types/unary_a2a.gno b/gnovm/tests/files/types/unary_a2a.gno index 9081ad64ebf..3bd80c7944d 100644 --- a/gnovm/tests/files/types/unary_a2a.gno +++ b/gnovm/tests/files/types/unary_a2a.gno @@ -10,4 +10,4 @@ func main() { } // Error: -// main/files/types/unary_a2a.gno:7: operator ! not defined on: IntKind +// main/files/types/unary_a2a.gno:7:7: operator ! not defined on: IntKind diff --git a/gnovm/tests/files/types/unary_a6.gno b/gnovm/tests/files/types/unary_a6.gno index 99e87b66683..3a27d1c2745 100644 --- a/gnovm/tests/files/types/unary_a6.gno +++ b/gnovm/tests/files/types/unary_a6.gno @@ -9,4 +9,4 @@ func main() { } // Error: -// main/files/types/unary_a6.gno:7: operator ^ not defined on: Float64Kind +// main/files/types/unary_a6.gno:7:7: operator ^ not defined on: Float64Kind diff --git a/gnovm/tests/files/var18.gno b/gnovm/tests/files/var18.gno index f2f97f62b15..771ddcdffb5 100644 --- a/gnovm/tests/files/var18.gno +++ b/gnovm/tests/files/var18.gno @@ -5,4 +5,4 @@ func main() { } // Error: -// main/files/var18.gno:4: assignment mismatch: 3 variables but 2 values +// main/files/var18.gno:4:2: assignment mismatch: 3 variables but 2 values diff --git a/gnovm/tests/files/zrealm0.gno b/gnovm/tests/files/zrealm0.gno index 7578781e503..e35f6399f14 100644 --- a/gnovm/tests/files/zrealm0.gno +++ b/gnovm/tests/files/zrealm0.gno @@ -33,9 +33,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -63,9 +63,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "6", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/zrealm1.gno b/gnovm/tests/files/zrealm1.gno index d90c5e8621a..e9bc4d3ca13 100644 --- a/gnovm/tests/files/zrealm1.gno +++ b/gnovm/tests/files/zrealm1.gno @@ -60,9 +60,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -177,9 +177,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "17", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/zrealm2.gno b/gnovm/tests/files/zrealm2.gno index 67ba2f5a768..14bae11d732 100644 --- a/gnovm/tests/files/zrealm2.gno +++ b/gnovm/tests/files/zrealm2.gno @@ -63,9 +63,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -180,9 +180,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "17", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -216,9 +216,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "23", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/zrealm3.gno b/gnovm/tests/files/zrealm3.gno index 8e2b9827322..986ce713182 100644 --- a/gnovm/tests/files/zrealm3.gno +++ b/gnovm/tests/files/zrealm3.gno @@ -95,9 +95,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -198,9 +198,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "14", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -234,9 +234,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "20", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/zrealm4.gno b/gnovm/tests/files/zrealm4.gno index 8a4bac1fe32..f1a4f25e6e8 100644 --- a/gnovm/tests/files/zrealm4.gno +++ b/gnovm/tests/files/zrealm4.gno @@ -91,9 +91,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -121,9 +121,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "11", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -157,9 +157,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "15", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/zrealm5.gno b/gnovm/tests/files/zrealm5.gno index 108483a435c..74ccd05c319 100644 --- a/gnovm/tests/files/zrealm5.gno +++ b/gnovm/tests/files/zrealm5.gno @@ -175,9 +175,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -205,9 +205,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "11", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -241,9 +241,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "15", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/zrealm6.gno b/gnovm/tests/files/zrealm6.gno index ff5e7e758a1..e0ec150c7d1 100644 --- a/gnovm/tests/files/zrealm6.gno +++ b/gnovm/tests/files/zrealm6.gno @@ -241,9 +241,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -271,9 +271,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "11", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -307,9 +307,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "16", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/zrealm7.gno b/gnovm/tests/files/zrealm7.gno index e6fd99503be..e6aad199d25 100644 --- a/gnovm/tests/files/zrealm7.gno +++ b/gnovm/tests/files/zrealm7.gno @@ -345,9 +345,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -375,9 +375,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "11", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -411,9 +411,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "17", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/zrealm_avl0.gno b/gnovm/tests/files/zrealm_avl0.gno index e3f1363e205..46903be035c 100644 --- a/gnovm/tests/files/zrealm_avl0.gno +++ b/gnovm/tests/files/zrealm_avl0.gno @@ -228,9 +228,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -258,9 +258,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "10", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -294,9 +294,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "15", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/zrealm_avl1.gno b/gnovm/tests/files/zrealm_avl1.gno index a6d2205e240..fb5111acaba 100644 --- a/gnovm/tests/files/zrealm_avl1.gno +++ b/gnovm/tests/files/zrealm_avl1.gno @@ -301,9 +301,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -331,9 +331,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "10", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -367,9 +367,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "15", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, diff --git a/gnovm/tests/files/zrealm_natbind0_stdlibs.gno b/gnovm/tests/files/zrealm_natbind0_stdlibs.gno index dedc5b565c3..1e0154cc02d 100644 --- a/gnovm/tests/files/zrealm_natbind0_stdlibs.gno +++ b/gnovm/tests/files/zrealm_natbind0_stdlibs.gno @@ -41,9 +41,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -71,9 +71,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "10", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -107,9 +107,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "main.gno", // "Line": "14", -// "Nonce": "0", // "PkgPath": "gno.land/r/test" // } // }, @@ -153,9 +153,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "native.gno", // "Line": "13", -// "Nonce": "0", // "PkgPath": "std" // } // }, diff --git a/gnovm/tests/files/zrealm_tests0_stdlibs.gno b/gnovm/tests/files/zrealm_tests0_stdlibs.gno index bfd4ad30a1e..70ac3dd810d 100644 --- a/gnovm/tests/files/zrealm_tests0_stdlibs.gno +++ b/gnovm/tests/files/zrealm_tests0_stdlibs.gno @@ -143,9 +143,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "0", // "File": "", // "Line": "0", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -265,9 +265,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "realm_method38d.gno", // "Line": "5", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -398,9 +398,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "56", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -504,9 +504,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "interfaces.gno", // "Line": "13", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -570,9 +570,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "interfaces.gno", // "Line": "20", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -636,9 +636,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "realm_compositelit.gno", // "Line": "19", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -692,9 +692,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "realm_method38d.gno", // "Line": "9", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -748,9 +748,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "realm_method38d.gno", // "Line": "15", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -794,9 +794,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "11", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -840,9 +840,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "15", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -896,9 +896,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "19", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -952,9 +952,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "25", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -998,9 +998,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "29", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -1044,9 +1044,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "33", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -1090,9 +1090,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "37", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -1136,9 +1136,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "41", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -1195,9 +1195,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "52", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -1244,9 +1244,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "74", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -1280,9 +1280,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "79", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -1316,9 +1316,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "87", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -1362,9 +1362,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "91", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -1418,9 +1418,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "95", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // }, @@ -1475,9 +1475,9 @@ func main() { // "@type": "/gno.RefNode", // "BlockNode": null, // "Location": { +// "Column": "1", // "File": "tests.gno", // "Line": "99", -// "Nonce": "0", // "PkgPath": "gno.land/r/demo/tests" // } // },