encore
encore copied to clipboard
The Encore compiler.
In the development branch, it seems that method/function parameters are unavailable in the body of functions defined in a where clause. In the following code, I would expect that `x`...
I was experimenting with some code and got the following type error. I think I am on the head of 'development'. I assume it's an easy fix. This class compiles...
Printing value `Just(10)` results in `Just 10`, which arguably is wrong. Bug occurs in development. Fix should be easy.
This issue is similar to the issue #809 . The main difference is that the issue occurs in Stream. ```Erlang active class Foo[t] stream produce(var n : int, v :...
When compiled, the following program ``` active class Main def foo(b : bool) : int if b then forward (this ! foo(b)) else return this.foo(b) end end def main() :...
#810 The error message for wrong number of arguments is not adjusted to the new feature default parameters. When compiling this code: ``` active class Main def main() : unit...
The polymorphic type is translated incorrectly according to the following example `test.enc`. ```ruby active class Base[t] var v : t def init(v : t) : unit this.v = v end...
The use of `encore_alloc` in `actor_list *entry = encore_alloc(cctx, sizeof *entry);` will ask for some memory from the current actor heap, and this memory will be managed by the GC...
The code below should not compile because of the 2nd `i` shadowing the first. This code however runs fine. ``` for i
I am well aware that `null` is on it's way out of the language, so it can not be used now. This code: ``` class Main def main(args:[String]) : unit...