All patches and comments are welcome. Please squash your changes to logical
commits before using git-format-patch and git-send-email to
patches@git.madduck.net.
If you'd read over the Git project's submission guidelines and adhered to them,
I'd be especially grateful.
1 Execute (Testing on EOF error):
8 \ 'text': 'Error: syntax error found at EOF',
11 \ ale#handlers#sml#Handle(42, [
12 \ "Standard ML of New Jersey v110.78 [built: Thu Jul 23 11:21:58 2015]",
14 \ "a.sml:2.16 Error: syntax error found at EOF",
15 \ '/usr/lib/smlnj/bin/sml: Fatal error -- Uncaught exception Compile with "syntax error" raised at ../compiler/Parse/main/smlfile.sml:15.24-15.46',
18 Execute (Testing if the handler can handle multiple errors on the same line):
21 \ 'filename': 'a.sml',
25 \ 'text': "Error: can't find function arguments in clause",
28 \ 'filename': 'a.sml',
32 \ 'text': 'Error: unbound variable or constructor: wow',
35 \ ale#handlers#sml#Handle(42, [
36 \ "Standard ML of New Jersey v110.78 [built: Thu Jul 23 11:21:58 2015]",
37 \ "[opening test.sml]",
38 \ "a.sml:1.6-1.10 Error: can't find function arguments in clause",
39 \ "a.sml:1.13-1.16 Error: unbound variable or constructor: wow",
40 \ "/usr/lib/smlnj/bin/sml: Fatal error -- Uncaught exception Error with 0",
41 \ "raised at ../compiler/TopLevel/interact/evalloop.sml:66.19-66.27",
44 Execute (Testing rarer errors):
47 \ 'filename': 'a.sml',
51 \ 'text': "Error: syntax error found at ID",
54 \ 'filename': 'a.sml',
58 \ 'text': "Error: value type in structure doesn't match signature spec",
61 \ ale#handlers#sml#Handle(42, [
62 \ "Standard ML of New Jersey v110.78 [built: Thu Jul 23 11:21:58 2015]",
63 \ "[opening test.sml]",
64 \ "a.sml:5.19 Error: syntax error found at ID",
65 \ "a.sml:7.1-9.27 Error: value type in structure doesn't match signature spec",
66 \ "/usr/lib/smlnj/bin/sml: Fatal error -- Uncaught exception Error with 0",
67 \ "raised at ../compiler/TopLevel/interact/evalloop.sml:66.19-66.27",
70 Execute (Testing a warning):
73 \ 'filename': 'a.sml',
77 \ 'text': "Warning: match nonexhaustive",
80 \ ale#handlers#sml#Handle(42, [
81 \ "Standard ML of New Jersey v110.78 [built: Thu Jul 23 11:21:58 2015]",
83 \ "a.sml:4.5-4.12 Warning: match nonexhaustive",
85 \ "val f = fn : int -> int",
89 Execute (Testing stdIn):
96 \ 'text': "Error: operator and operand don't agree [overload conflict]",
103 \ 'text': "Error: operator and operand don't agree [overload conflict]",
106 \ ale#handlers#sml#Handle(42, [
107 \ "Standard ML of New Jersey v110.79 [built: Sat Oct 26 12:27:04 2019]",
108 \ "- = stdIn:1.6-1.21 Error: operator and operand don't agree [overload conflict]",
109 \ " operator domain: [+ ty] * [+ ty]",
110 \ " operand: string * [int ty]",
113 \ "stdIn:2.5-2.20 Error: operator and operand don't agree [overload conflict]",
114 \ " operator domain: [+ ty] * [+ ty]",
115 \ " operand: [+ ty] * string",