hades-lang
hades-lang copied to clipboard
A systems programming language
Related to #82. Can use the same workaround, which is ``` val self = this call || { // can use self here, but not `this` } ```
```scala def nothing(): Void {} def call(f: || -> Void): Void { f() } def main(): Void { call(|| nothing()) } ``` As a workaround, you can wrap the body...
Bumps org.apache.commons:commons-lang3 from 3.14.0 to 3.15.0. [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a...
```rust fn test(a: u32):void { let a = a + 1 } ```
- [ ] https://github.com/dhruvrajvanshi/hades-lang/commit/716a41458543bc4b85f9146166f519fb74016b11#diff-8d46572fe16c32869342583aec4a8d11dd3630d0586ff34311f07d1281c57f61 - [ ] #209 - [ ] #208 - [ ] #207 - [ ] #205 - [ ] #206 - [ ] #211
Allow initialization of structs at global const level if all arguments are also constants ```rust struct SomeVTable { foo: fn() -> void } fn int_foo() -> void {} const IntVTable...