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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bug fixes
(Fuzzing) An integer-overflow bug from an inclusive range in get_bits is fixed (#963).
(Fuzzing) Nested functions marked private now properly cause compilation errors (#993).
Passing function as a function pointer into a function in an imported module now correctly encapsulates the current environment into the generated function pointer (thanks @dcihlar#976). The same for passing a closure (thanks again, @dcihlar#979).
Unneeded optional dependencies are no longer pulled in with features (thanks @HactarCE#987).
Engine::collect_fn_metadata now properly includes the namespaces of functions in static modules (thanks @therealprof and @elkowar#992).
Enhancements
Improve display of function call errors by displaying the caller function's source together with line number info (thanks @rhizoome and @HactarCE#988).
source and position in NativeCallContext are now fn_source and call_position. A new method call_source is added to return the source (if any) of the caller function (thanks @rhizoome and @HactarCE#989).
The &&, || and ?? operators are optimized to allow efficient chaining (#994).