#243 fennel.view fails on math.maxinteger 5 months ago

Ticket created by ~phoebos on ~technomancy/fennel

This is Fennel 1.5.1 on Lua 5.4.

(fennel.view math.maxinteger)
runtime error: invalid conversion specification: '%.100e'

#79 Assertion failed: tq == QUALNONE (expr.c: decay: 101) 1 year, 11 months ago

Comment by ~phoebos on ~mcf/cproc

I've also stumbled across this bug, in the following context:

struct dirent {
    char d_name[256];
};

int sel(const struct dirent *d) {
    return d->d_name[0] != '.';
}
Assertion failed: tq == QUALNONE (expr.c: decay: 101)
cproc: compile: process signaled: Aborted

Removing const works.