PistonDevelopers / dyon

A rusty dynamically typed scripting language

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use function pointer instead of `ModuleResolver` trait

bvssvni opened this issue · comments

See #702

This PR introduces a trait ModuleResolver to allow custom module resolution. The trait method does not depend on the object, so one could use a function pointer instead.