Re: Out-of-bounds error when printing out a function value
[Thread Prev] | [Thread Next]
- Subject: Re: Out-of-bounds error when printing out a function value
- From: Ori Bernstein <ori@xxxxxxxxxxxxxx>
- Reply-to: myrddin-dev@xxxxxxxxxxxxxx
- Date: Tue, 5 Dec 2017 01:34:18 -0800
- To: myrddin-dev@xxxxxxxxxxxxxx
- Cc: nml <arumakanil@xxxxxxxxx>
On Tue, 5 Dec 2017 01:13:57 -0800, Ori Bernstein <ori@xxxxxxxxxxxxxx> wrote: > Should be fixed for all extern const symbols, and not just functions. I > was overly specific in my first fix. s/isconstfn/d->decl.isconst \&\& d->decl.isextern/g Also, to be clear, the only time that this was broken was specifically for extern const symbols declared within a function. extern const foo const main = { // use foo } has always been working. I don't think I actually indended to support extern symbols with function scope, but it turns out to be a very small special case, so it's tentatively added. If it does cause more problems, I'll probably just make it an error to declare extern symbols inside functions. -- Ori Bernstein
Out-of-bounds error when printing out a function value | nml <arumakanil@xxxxxxxxx> |
Re: Out-of-bounds error when printing out a function value | nml <arumakanil@xxxxxxxxx> |
Re: Out-of-bounds error when printing out a function value | Ori Bernstein <ori@xxxxxxxxxxxxxx> |
- Prev by Date: Re: Out-of-bounds error when printing out a function value
- Next by Date: Re: [oridb/mc] runtest.sh: support running single test (#162)
- Previous by thread: Re: Out-of-bounds error when printing out a function value
- Next by thread: Re: [oridb/mc] runtest.sh: support running single test (#162)
- Index(es):