X-Git-Url: https://git.distorted.org.uk/~mdw/sod/blobdiff_plain/ed3ce6c2352d76442b79badfbe08bc6ecde6934d..12949379840101e2d65883f29c5e8f0f6de49e9c:/test/bad.ref diff --git a/test/bad.ref b/test/bad.ref index de3b354..3188354 100644 --- a/test/bad.ref +++ b/test/bad.ref @@ -29,9 +29,9 @@ * test/bad.sod:40:11: note: Previous definition was here * test/bad.sod:40:2: error: Duplicate primary direct method for message `void wrong.frob(void)' in classs `Wrong' * test/bad.sod:38:2: note: Previous definition was here -* test/bad.sod:48:29: syntax error: Expected `class', `set', `code', `typename', `import', `load', `lisp', or `demo' but found `{' -* test/bad.sod:48:49: syntax error: Expected `class', `set', `code', `typename', `import', `load', `lisp', or `demo' but found `}' -* test/bad.sod:49:0: syntax error: Expected `class', `set', `code', `typename', `import', `load', `lisp', or `demo' but found `}' +* test/bad.sod:48:29: syntax error: Expected `class', `lisp', `load', `import', `typename', `code', `set', `instance', or `demo' but found `{' +* test/bad.sod:48:49: syntax error: Expected `class', `lisp', `load', `import', `typename', `code', `set', `instance', or `demo' but found `}' +* test/bad.sod:49:0: syntax error: Expected `class', `lisp', `load', `import', `typename', `code', `set', `instance', or `demo' but found `}' * test/bad.sod:54:30: error: Type mismatch for keyword argument `x' in methods for message `void fail.badkw(?int x)' applicable to class `Arrgh' * test/bad.sod:56:2: note: Type `double' declared in primary direct method of `Arrgh' (defined here) * test/bad.sod:51:43: note: Type `int' declared in message definition in `Fail' (here) @@ -62,6 +62,12 @@ * test/bad.sod:90:0: error: Class `dismissed' is incomplete * test/bad.sod:90:0: syntax error: Expected `{' but found `;' * test/bad.sod:90:0: syntax error: Expected `}' but found `;' -* test/bad.sod:90:0: syntax error: Expected `class', `set', `code', `typename', `import', `load', `lisp', or `demo' but found `;' -* sod: Finished with 38 errors +* test/bad.sod:90:0: syntax error: Expected `class', `lisp', `load', `import', `typename', `code', `set', `instance', or `demo' but found `;' +* test/bad.sod:93:16: error: No initializer for instance slot `int st.x', required by static instance `noinit' +* test/bad.sod:92:43: note: Slot `int st.x' defined here +* test/bad.sod:93:16: error: No initializer for instance slot `int st.y', required by static instance `noinit' +* test/bad.sod:92:46: note: Slot `int st.y' defined here +* test/bad.sod:94:43: error: Duplicate initializer for instance slot `int st.x' in static instance `dupinit' +* test/bad.sod:94:33: note: Previous definition was here +* sod: Finished with 41 errors ; rc = 2