Commit b2b1d8d
committed
Fix type mixups of ra_index() and ra_term()
This is a cosmetic change since the dialyzer isn't smart enough yet to
notice the mixup. With the addition of nominal types in OTP 28 though we
will eventually be able to get the dialyzer to notice this.
Note that in practice `#request_vote_rpc{}` and `#pre_vote_rpc{}` are
being constructed correctly with `ra_term()`s in these fields, so this
isn't a bug fix.1 parent 739c4aa commit b2b1d8d
2 files changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
0 commit comments