You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove top-level calls to LibGC.has_method? for backwards compat (#15635)
`has_method?` in top-level macro expressions was broken before Crystal 1.7.0 (fixed in #12848).
On older compiler versions `LibGC.has_method?(:set_stackbottom)` would always return `false` and break assumptions about available lib symbols.
This patch simply moves the macro expression into the `def` body. We don't need this on the top level.
More details in #15633 (comment)
0 commit comments