Commit a9a8bfb
committed
avm2: Fix incorrect method return values/types for some native methods
- `Vector$object`'s `push` and `shift` should return `*`, not `Object`
- `DisplayObjectContainer`'s `setChildIndex` returns `void`1 parent cf250f7 commit a9a8bfb
File tree
2 files changed
+2
-4
lines changed- core/src/avm2/globals
- flash/display
2 files changed
+2
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
170 | 170 | | |
171 | 171 | | |
172 | 172 | | |
173 | | - | |
| 173 | + | |
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
| |||
179 | 179 | | |
180 | 180 | | |
181 | 181 | | |
182 | | - | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | | - | |
447 | | - | |
448 | 446 | | |
449 | 447 | | |
450 | 448 | | |
| |||
0 commit comments