rune-rs / rune

An embeddable dynamic programming language for Rust.
https://rune-rs.github.io
Apache License 2.0
1.7k stars 85 forks source link

Fix how the virtual machine perform internal calls #739

Closed udoprog closed 1 month ago

udoprog commented 1 month ago

Some internal calls had buggy implementations, like calling protocol functions which are associated with the unit. This did not cause any issues, because there's currently no way to add such implementations.

We should also add tests for these.