Commit ba2499c
Fix: interpreter handles
We must handle args first, and then leave self on the stack, instead of handling args last and have them maybe mess with the stack.
Co-authored-by: Julien Portalier <[email protected]>self in inlined method with arguments (#16307)1 parent a374dfc commit ba2499c
File tree
2 files changed
+17
-3
lines changed- spec/compiler/interpreter
- src/compiler/crystal/interpreter
2 files changed
+17
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
210 | 210 | | |
211 | 211 | | |
212 | 212 | | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
213 | 227 | | |
214 | 228 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1872 | 1872 | | |
1873 | 1873 | | |
1874 | 1874 | | |
| 1875 | + | |
| 1876 | + | |
| 1877 | + | |
1875 | 1878 | | |
1876 | 1879 | | |
1877 | 1880 | | |
| |||
1885 | 1888 | | |
1886 | 1889 | | |
1887 | 1890 | | |
1888 | | - | |
1889 | | - | |
1890 | | - | |
1891 | 1891 | | |
1892 | 1892 | | |
1893 | 1893 | | |
| |||
0 commit comments