apoch / epoch-language

Home of the Epoch Programming Language Project
Other
72 stars 3 forks source link

Compiler: miscompile with functions returning literal booleans #176

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 9 years ago
Something barfs on this:

foo : -> true

entrypoint :
{
    assert(foo)
}

Looks like either virtual stack wonkiness in the JIT or something is widening 
the boolean to 32 bits.

Original issue reported on code.google.com by don.ap...@gmail.com on 29 Sep 2014 at 6:58

apoch commented 8 years ago

This has been fixed for the 64-bit compiler and is no longer a concern.