Commit acc5084
committed
runtime: Don't call regular method if assignment hash matches
This is a pretty nasty breakage in lookup code that I somehow didn't
catch in tests, so I'm adding one for it now. This caused all unary
methods that had a single-keyword variant to ignore the single-keyword
variant and only use the unary one. This also broke argument sentinel
checks but I never noticed it. Ouch!1 parent b919c45 commit acc5084
File tree
2 files changed
+19
-1
lines changed- src/runtime/objects
- tests/interpreter
2 files changed
+19
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
0 commit comments