Open PureTryOut opened 5 years ago
I can reproduce this issue as well ;)
@PureTryOut I have no Rust experience, but this compiles:
let boxed = self.type_id(); -- vvv --- let boxed = Any::type_id(self);
Thanks for reporting! We will upload a fix soon
0.9.0 is a very old version of rhai (an embedded scripting language and evaluation engine for Rust) by now, this appears to be fixed by rhai 0.19.8, updating in Cargo.toml:
-rhai = "0.9.0"
+rhai = "0.19.8"
though then compilation fails with https://github.com/KernelFreeze/Litecraft/issues/23
Using the latest nightly (just updated a few minutes before making this issue) some dependency fails to compile. This seems to happen in
rhai-0.9.0
but I'm not entirely sure.Expected Behavior ๐ค
Successful compilation.
Current Behavior ๐
Steps to Reproduce ๐ฑ
cargo build
orcargo run
Context (Environment) ๐คจ
I'm just trying to compile the project for the first time. This is a clean
git clone
.