Closed PearCoding closed 1 year ago
The usage of static and reference based lambdas is undefined behaviour as the initial reference can be destroyed, but the std::function remains. This PR fixes that and also the issue AnyDSL/thorin#134
Looking good.
The usage of static and reference based lambdas is undefined behaviour as the initial reference can be destroyed, but the std::function remains. This PR fixes that and also the issue AnyDSL/thorin#134