Repository navigation
Commit 39fa31b
authored
Remove redundant check in DECLARE_LAMBDA_FUNCTION handler (GH-25158)
When `Z_TYPE(EX(This)) == IS_OBJECT`, EX(func) is always non-static.
Remove EXPECTED() for static closure, declaring static closures from non-static
functions is not rare.1 parent 467970b commit 39fa31b
2 files changed
Lines changed: 6 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8442 | 8442 | | |
8443 | 8443 | | |
8444 | 8444 | | |
8445 | | - | |
8446 | | - | |
8447 | | - | |
| 8445 | + | |
| 8446 | + | |
8448 | 8447 | | |
8449 | 8448 | | |
8450 | 8449 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments