Commit f9586f1
fix: mark ByteArray.Iterator Inhabited instance as noncomputable
The Iterator structure has a custom SizeOf instance that depends on runtime
array size, making the Inhabited instance noncomputable. This change explicitly
marks it as such and adds a comment explaining why.
Related: https://leanprover.zulipchat.com/#narrow/channel/113489-new-members/topic/Compiler.20error.20with.20sizeOf/with/561532734
Co-authored-by: nomeata <[email protected]>1 parent cba30de commit f9586f1
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
342 | 341 | | |
343 | 342 | | |
| 343 | + | |
| 344 | + | |
| 345 | + | |
| 346 | + | |
344 | 347 | | |
345 | 348 | | |
346 | 349 | | |
| |||
0 commit comments