~pierrec

Trackers


#407 Allow iconst/fconst defines 1 year, 2 months ago

on ~sircmpwn/hare

Can this be closed? ~pierrec implemented those a while ago.

#793 Assigning all values in an array does not fill complete array 1 year, 2 months ago

Comment by ~pierrec on ~sircmpwn/hare

I will look into it.

#793 Assigning all values in an array does not fill complete array 1 year, 2 months ago

on ~sircmpwn/hare

#536 Assign slice from expandable array 1 year, 4 months ago

Comment by ~pierrec on ~sircmpwn/hare

Fixed in commit 1a0c7945.

#560 Permit type inference for globals 1 year, 4 months ago

Comment by ~pierrec on ~sircmpwn/hare

Fixed in commit 8531f739.

#771 harec assertion fail: enum int with bitshift as initializer 1 year, 4 months ago

Comment by ~pierrec on ~sircmpwn/hare

Assertions are also made on whether the shift value is a float. Shouldnt this also report a meaningful error? If so, should all float assertions in eval_binarithm report errors instead of asserting?

#670 Cannot copy const slice to non-const slice 1 year, 4 months ago

Comment by ~pierrec on ~sircmpwn/hare

This no longer fails with harec@262374062088bd4c4ca9d17019b0b4ad966e7589 (latest)

#180 stdlib: sort 1 year, 4 months ago

Comment by ~pierrec on ~sircmpwn/hare

Glancing at the timsort algorithm, it does not do in-place sorting and needs to allocate. Any recommandation on how to best approach this from an API standpoint?

#778 gen_data_item: assertion failure 1 year, 4 months ago

Ticket created by ~pierrec on ~sircmpwn/hare

Assertion when running the code below:

harec: src/gen.c:3747: gen_data_item: Assertion `item->type != QD_VALUE || item->value.type' failed.

type color = [4]u8;
type palette = [16]color;

const TRANS: color = [0, 0, 0, 0];

const pal: palette = [TRANS...];

export fn main() void = void;

#776 gen_expr_cast_tagged_at: Assertion `subtype == from' failed 1 year, 4 months ago

Ticket created by ~pierrec on ~sircmpwn/hare

This code triggers the following assertion: harec: src/gen.c:1422: gen_expr_cast_tagged_at: Assertion `subtype == from' failed.

use io;

export type invalid = !str;
export type error = !(io::error | invalid);

export fn main() void = {
                const e = "my error": error;
};