schungx / rhai

Rhai - An embedded scripting language for Rust [dev repo, may regularly force-push, pull from https://github.com/rhaiscript/rhai for a stable build]
https://github.com/rhaiscript/rhai
Apache License 2.0
9 stars 3 forks source link

Fix lots of import and resolution issues #33

Closed jhwgh1968 closed 4 years ago

jhwgh1968 commented 4 years ago

This is a small fix on the way to getting the fix you've been waiting for: avoiding length checks.

It's its own PR in order to run it through CI.

EDIT: this also cleans up the CI, and some of the issues you described in #3

jhwgh1968 commented 4 years ago

Well, these are the errors I was trying to bring out before. I'll figure it out.

jhwgh1968 commented 4 years ago

There we go! Merge it, add use rhai::plugin::* in a bunch of places, and see if things work better.

schungx commented 4 years ago

Works wonderfully!

BTW, any parameter named _ causes an error.