Eigenstate: myrddin-dev mailing list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash when using sizeof in array size


Oops.

The frontend didn't know about sizeof() so it couldn't fold it. Added a hook
so that the backend can give fold() a sizeof function. It should work now.

On Sun, 30 Jul 2017 20:10:32 -0500, Ryan Gonzalez <rymg19@xxxxxxxxx> wrote:

> const f = {
>     var buf: byte[sizeof(int)]
> }

-- 
    Ori Bernstein

Follow-Ups:
Re: Crash when using sizeof in array sizeRyan Gonzalez <rymg19@xxxxxxxxx>
References:
Crash when using sizeof in array sizeRyan Gonzalez <rymg19@xxxxxxxxx>