Commit 5f41931
committed
Fix off-by-one in generator nospecialize
I had an off-by-one in #50556, since the argument slots actually start
at 2 and `iota` starts at `0`. This was breaking StaticArrays precompiles,
which attempts to precompile a generator with its abstract signature and
without the nospecialize, those signatures are not compileable.1 parent 7141e73 commit 5f41931
2 files changed
+16
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
296 | 296 | | |
297 | 297 | | |
298 | 298 | | |
299 | | - | |
| 299 | + | |
| 300 | + | |
300 | 301 | | |
301 | 302 | | |
302 | 303 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1771 | 1771 | | |
1772 | 1772 | | |
1773 | 1773 | | |
| 1774 | + | |
| 1775 | + | |
| 1776 | + | |
| 1777 | + | |
| 1778 | + | |
| 1779 | + | |
| 1780 | + | |
| 1781 | + | |
| 1782 | + | |
| 1783 | + | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
1774 | 1788 | | |
1775 | 1789 | | |
1776 | 1790 | | |
| |||
0 commit comments