about summary refs log tree commit diff stats
path: root/tutorial/task6-error-runbook.txt
blob: 237257226d27f3412bdc5de857fc06d7af754714 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
If I encounter an error that looks like this:
  fn main: stmt copy: output 'm' not in a register

then I should do the following:
  - find the function mentioned (here `main`);
  - look for a statement that contains the mentioned output (here `m`) before
    the `<-`; and
  - replace the statement with a version of the same instruction that writes
    to an inout in memory. (Here, replace `m <- copy` with `copy-to m`.)

===

If I encounter an error that looks like this:
  label table: get-slice: key not found: copy-to

then I should do the following:
  - look for a statement with the same instruction (here `copy-to`) whose
    first inout is not a variable stored in memory; and
  - email Kartik (http://akkartik.name/contact) to ask why this message is so
    much less helpful then the previous one.
r elioat <elioat@tilde.institute> 2024-12-26 19:41:51 -0500 committer elioat <elioat@tilde.institute> 2024-12-26 19:41:51 -0500 *' href='/elioat/tour/commit/js/quest-log/index.html?id=f1268ab00394de6f751c58f825efbc905680b161'>f1268ab ^
8ff754e ^

f1268ab ^
8ff754e ^

f1268ab ^
8ff754e ^






f1268ab ^













































8ff754e ^


f1268ab ^




8ff754e ^









1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149