Commit cb2e297
fix: remove dead code and refine init specs in runtime modules
- Remove {:stop, term()} from init/1 specs as implementations never
return this tuple in practice
- Remove dead error handling code in Bun.handle_continue/2 since
start/1 returns port() directly and cannot return {:error, _}
- Simplify handle_continue/2 spec to only return {:noreply, state}
This eliminates the remaining Dialyzer warnings about unreachable
pattern matches and spec mismatches.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent 1679ca8 commit cb2e297
2 files changed
+8
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | 92 | | |
94 | 93 | | |
95 | 94 | | |
| |||
99 | 98 | | |
100 | 99 | | |
101 | 100 | | |
102 | | - | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
| 101 | + | |
107 | 102 | | |
108 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
109 | 106 | | |
110 | | - | |
| 107 | + | |
111 | 108 | | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
| 109 | + | |
116 | 110 | | |
117 | 111 | | |
118 | 112 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
0 commit comments