pyranota

Results 26 comments of pyranota

I also think that this idea of using type hint in Rhai is very good. On the one hand, you dont really need it, because of rust types, but on...

> Therefore, for useful typing, you need some form of union typing like TypeScript Yeeeahh... Thats the good idea. For example: ``` fn foo(a: bool) -> () | bool{ if...

As for `this` keyword, Rhai could use this: ``` fn foo(this: type1 | type2){ // todo } ```

Hey! Is lifetimes supported in enums? ```rust pub enum MyEnum

I also think like you. Its now working under XWayland, but im getting this error ``` XGB: conn.go:47: Could not get authority info: open /home/user/.Xauthority: no such file or directory...

Have the same problem. The same output produces this commands: ``` nix run github:veloren/veloren nix run github:veloren/Airshipper ``` Setting up rustc Nightly as default does not solve the problem

It displays only 2 comments, should it be like that? Not sure if its not a bug.

Im not sure if sccache will help with incremental compilation. It helps with rebuilding entire project alot, but is not that effective when incrementally rebuilding project with small changes. Sccache...