[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: guild raises warnings about unused variable from SRFI-64
From: |
Aleix Conchillo Flaqué |
Subject: |
Re: guild raises warnings about unused variable from SRFI-64 |
Date: |
Wed, 31 Mar 2021 23:13:24 -0700 |
On Wed, Mar 31, 2021 at 12:47 PM Jérémy Korwin-Zmijowski
<jeremy@korwin-zmijowski.fr> wrote:
>
> Hello Aleix !
>
> > Can you provide a small example on how you get this? A small test
> > that
> > causes this and the guild command you use would be great.
>
> Here is a small one :
>
> (use-modules (srfi srfi-64))
> (test-begin "a-group")
> (test-assert "a-test" #t)
> (test-end)
>
> And the guild command (it requires a warning level of 3 to raise it) :
>
> $ guild compile -W3 t.scm
>
> With the output :
>
> t.scm:3:0: warning: unused variable `name'
> wrote `/home/jeko/.cache/guile/ccache/3.0-LE-8-4.4/tmp/t.scm.go'
>
> Thank you for considering my message !
>
I have submitted an srfi-64 patch to fix this.
Aleix
- Re: guild raises warnings about unused variable from SRFI-64,
Aleix Conchillo Flaqué <=