~ecs

trapped on the surface of a sphere

https://ecs.d2evs.net


#466 Rework forward references 8 days ago

Comment by ~ecs on ~sircmpwn/hare

This didn't end up being enough, but improved forward references have been in for a while

REPORTED RESOLVED IMPLEMENTED

#777 no way to export command line defines 13 days ago

Comment by ~ecs on ~sircmpwn/hare

+1 to requiring prototypes, would also allow us to provide a better error message when necessary -Ds aren't provided

#777 no way to export command line defines 14 days ago

Comment by ~ecs on ~sircmpwn/hare

What about harec -Dfoo:int=42 + export def FOO: int = foo;? It's a bit hacky, but I can't think of a good syntax for exporting command-line defines. Unless you think they should always be exported?

#765 Segfault on invalid use of type alias in for loop a month ago

harec added by ~ecs on ~sircmpwn/hare

#765 Segfault on invalid use of type alias in for loop a month ago

bug added by ~ecs on ~sircmpwn/hare

#765 Segfault on invalid use of type alias in for loop a month ago

Ticket created by ~ecs on ~sircmpwn/hare

I'm really not sure what's going on here, but this is the best reproduction I was able to find. Mind taking a look at this, ~turminal?

// a.ha
type foo = struct { a: u8 };
fn bar() void = for (foo) void;

// b.ha
fn baz(x: foo) void = void;

// $ harec a.ha b.ha
// Segmentation fault

// Though note that
// $ harec b.ha a.ha
// Error a.ha:2:25: Cannot use non-void type alias 'foo' as constant
// Error a.ha:2:25: Expected for condition to be boolean

#763 Update nullable type assertion/test spec a month ago

spec added by ~ecs on ~sircmpwn/hare

#763 Update nullable type assertion/test spec a month ago

Ticket created by ~ecs on ~sircmpwn/hare

Currently only mentions as *type, needs as null and nullable type tests

#758 Move @symbol after fn token a month ago

on ~sircmpwn/hare

I agree with ~ecs that we shouldn't break grepping for fn $funcname, but is there any reason that we can't move @symbol to be before the let token to fix the inconsistency?

#758 Move @symbol after fn token 2 months ago

Comment by ~ecs on ~sircmpwn/hare

-1, breaks grepping for fn $funcname and I don't think the inconsistency is a big deal