Mattis Böckle
Mattis Böckle
I think you misunderstood the Issue. Your examples should not compile, because there is a return in a void function. Always choosing the first return does not fix the issue....
You were working on #151 right? I made a Pull-Request for that Issue, but now I'm not sure if my solution is correct. Does no explicit return type mean that...
I took a look as well, but the return statement never checks if it is of the correct type. I don't think it has anything to do with the blocks
I already have a working fix for `void` or `unknown` return types, but the other types are trickier, because afaik there is no check for if the expr-value can be...
If this is the intended behaviour, there are some tests that are wrong. Namely: [passing_array](https://github.com/SerenityOS/jakt/blob/main/samples/generics/passing_arrays.jakt) and [mutable_unwrap](https://github.com/SerenityOS/jakt/blob/main/samples/optional/mutable_unwrap.jakt) Can I get confirmation on if those are wrong?
> @mattisboeckle it would be great if you could figure out why `iterate_increment` and `factorial_accumulator` are constant-folded (in the llvm backend), and how we can cheaply prevent this (perhaps by...
I've adjusted the magic `mod` value to 2^63-1 and added a comment explaining, why we do this.
A few observations: - Unicode is only implemented starting with (I think) Powershell 7 - Running the generated js manually with `node` prints the correct result - When effekt is...
The solution seems to work in both cases. I'll check if we can call the process differently
Hmm, thats weird and also annoying to test, because it requires restarting my PC every time I want to change that setting