eraserhd / parinfer-rust

A Rust port of parinfer.
ISC License
546 stars 42 forks source link

Don't take a reference to a function pointer #56

Closed nsmaciej closed 5 years ago

nsmaciej commented 5 years ago

Before the code failed on the 1.39 beta and newer.

I've narrowed down on the issue here https://stackoverflow.com/questions/58416511/casting-a-function-reference-producing-an-invalid-pointer

eraserhd commented 5 years ago

Interesting. I suspect that bit was probably copied from Stack Overflow, as I still don't understand the original expression.

Thank you for this.