| 1 | | ;; Hello from Lisp! |
| 2 | | ;; DEMO "foo" |
| 3 | * test/bad.sod:31:13: syntax error: Expected `{' but found `(' |
| 4 | * test/bad.sod:31:29: lexical error: Empty character literal |
| 5 | * test/bad.sod:31:32: lexical error: Too many characters in character literal |
| 6 | * test/bad.sod:33:6: syntax error: Expected <identifier> but found `{' |
| 7 | * test/bad.sod:33:6: syntax error: Expected `:' but found `{' |
| 8 | * test/bad.sod:36:12: syntax error: Expected `:' but found `{' |
| 9 | * test/bad.sod:45:12: error: Slot declarations cannot have function type |
| 10 | * test/bad.sod:45:14: syntax error: Expected <identifier> but found `.' |
| 11 | * test/bad.sod:47:2: error: No message in class `Wrong' with name `fizzbuzz' |
| 12 | * test/bad.sod:47:12: error: No superclass of `Wrong' with nickname `wtf' |
| 13 | * test/bad.sod:47:26: error: No instance slot in class `Wrong' with name `z' |
| 14 | * test/bad.sod:47:30: syntax error: Expected <identifier> but found `=' |
| 15 | * test/bad.sod:47:33: error: No superclass of `Wrong' with nickname `x' |
| 16 | * test/bad.sod:48:29: syntax error: Expected `;' but found `{' |
| 17 | * test/bad.sod:48:29: syntax error: Expected `}' but found `{' |
| 18 | * test/bad.sod:42:7: error: Duplicate slot name `x' in class `Wrong' |
| 19 | * test/bad.sod:40:11: note: Previous definition was here |
| 20 | * test/bad.sod:44:25: error: Duplicate slot name `x' in class `Wrong' |
| 21 | * test/bad.sod:40:11: note: Previous definition was here |
| 22 | * test/bad.sod:45:7: error: Duplicate slot name `x' in class `Wrong' |
| 23 | * test/bad.sod:40:11: note: Previous definition was here |
| 24 | * test/bad.sod:41:13: error: Duplicate initializer for instance slot `int wrong.x' in class `Wrong' |
| 25 | * test/bad.sod:40:11: note: Previous definition was here |
| 26 | * test/bad.sod:43:13: error: Duplicate initializer for instance slot `int wrong.x' in class `Wrong' |
| 27 | * test/bad.sod:40:11: note: Previous definition was here |
| 28 | * test/bad.sod:44:25: error: Duplicate initializer for instance slot `int wrong.x' in class `Wrong' |
| 29 | * test/bad.sod:40:11: note: Previous definition was here |
| 30 | * test/bad.sod:40:2: error: Duplicate primary direct method for message `void wrong.frob(void)' in classs `Wrong' |
| 31 | * test/bad.sod:38:2: note: Previous definition was here |
| 32 | * test/bad.sod:48:29: syntax error: Expected `class', `set', `code', `typename', `import', `load', `lisp', or `demo' but found `{' |
| 33 | * test/bad.sod:48:49: syntax error: Expected `class', `set', `code', `typename', `import', `load', `lisp', or `demo' but found `}' |
| 34 | * test/bad.sod:49:0: syntax error: Expected `class', `set', `code', `typename', `import', `load', `lisp', or `demo' but found `}' |
| 35 | * 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' |
| 36 | * test/bad.sod:56:2: note: Type `double' declared in primary direct method of `Arrgh' (defined here) |
| 37 | * test/bad.sod:51:43: note: Type `int' declared in message definition in `Fail' (here) |
| 38 | * test/bad.sod:52:21: note: Class `Fail' is a direct superclass of `Unlikely', defined here |
| 39 | * test/bad.sod:54:30: note: Class `Unlikely' is a direct superclass of `Arrgh', defined here |
| 40 | * test/bad.sod:54:30: error: Type mismatch for keyword argument `y' in methods for message `void fail.badkw(?int x)' applicable to class `Arrgh' |
| 41 | * test/bad.sod:53:53: note: Type `int' declared in primary direct method of `Whoops' (defined here) |
| 42 | * test/bad.sod:54:30: note: Class `Whoops' is a direct superclass of `Arrgh', defined here |
| 43 | * test/bad.sod:52:58: note: Type `double' declared in primary direct method of `Unlikely' (defined here) |
| 44 | * test/bad.sod:62:41: error: Duplicate nickname `sub' in superclasses of `BadNicks': used by `RSub' and `LSub' |
| 45 | * test/bad.sod:62:41: note: Class `RSub' is a direct superclass of `BadNicks', defined here |
| 46 | * test/bad.sod:62:41: note: Class `LSub' is a direct superclass of `BadNicks', defined here |
| 47 | * test/bad.sod:62:41: error: Duplicate nickname `join' in superclasses of `BadNicks': used by `JSuper' and `BadNicks' |
| 48 | * test/bad.sod:60:32: note: Class `JSuper' is a direct superclass of `LSub', defined here |
| 49 | * test/bad.sod:68:37: error: Ill-formed superclass graph: can't construct class precedence list for `Splinch' |
| 50 | * test/bad.sod:68:37: note: Class `Splinch' orders `SodObject' before `Nioj' |
| 51 | * test/bad.sod:66:24: note: Class `Join' orders `Left' before `SodObject' |
| 52 | * test/bad.sod:68:37: note: Class `Join' is a direct superclass of `Splinch', defined here |
| 53 | * test/bad.sod:67:24: note: Class `Nioj' orders `Nioj' before `Left' and `SodObject' |
| 54 | * test/bad.sod:68:37: note: Class `Nioj' is a direct superclass of `Splinch', defined here |
| 55 | * test/bad.sod:69:37: error: Class `Wrong' is incomplete |
| 56 | * test/bad.sod:69:37: error: In `Hopeless', chain-to class `Super' is not a proper superclass |
| 57 | * test/bad.sod:85:46: error: No obvious choice for implicit metaclass: candidates are `MyClass' and `MyOtherClass' |
| 58 | * test/bad.sod:80:26: note: Direct superclass `MyObject' defined here has metaclass `MyClass' |
| 59 | * test/bad.sod:84:58: note: Direct superclass `MyOtherObject' defined here has metaclass `MyOtherClass' |
| 60 | * test/bad.sod:85:46: error: Metaclass `MyClass' of `WhichMetaClass' isn't a subclass of `MyOtherClass' |
| 61 | * test/bad.sod:84:58: note: Direct superclass `MyOtherObject' defined here has metaclass `MyOtherClass' |
| 62 | * test/bad.sod:90:0: error: Class `dismissed' is incomplete |
| 63 | * test/bad.sod:90:0: syntax error: Expected `{' but found `;' |
| 64 | * test/bad.sod:90:0: syntax error: Expected `}' but found `;' |
| 65 | * test/bad.sod:90:0: syntax error: Expected `class', `set', `code', `typename', `import', `load', `lisp', or `demo' but found `;' |
| 66 | * sod: Finished with 38 errors |
| 67 | ; rc = 2 |