unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: "Aleix Conchillo Flaqué" <aconchillo@gmail.com>
To: "Jérémy Korwin-Zmijowski" <jeremy@korwin-zmijowski.fr>
Cc: Guile User <guile-user@gnu.org>
Subject: Re: guild raises warnings about unused variable from SRFI-64
Date: Wed, 31 Mar 2021 23:13:24 -0700	[thread overview]
Message-ID: <CA+XASoWFWRBHD7_2SS2V1D18noF6pmsUUHH=mp0GoF-VLknCJQ@mail.gmail.com> (raw)
In-Reply-To: <2eee5e572809d6f4120babab348379ffa82eb495.camel@korwin-zmijowski.fr>

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



  reply	other threads:[~2021-04-01  6:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-30 14:40 guild raises warnings about unused variable from SRFI-64 Jérémy Korwin-Zmijowski
2021-03-31 16:23 ` Aleix Conchillo Flaqué
2021-03-31 19:47   ` Jérémy Korwin-Zmijowski
2021-04-01  6:13     ` Aleix Conchillo Flaqué [this message]
2021-04-01 11:53       ` Jérémy Korwin-Zmijowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CA+XASoWFWRBHD7_2SS2V1D18noF6pmsUUHH=mp0GoF-VLknCJQ@mail.gmail.com' \
    --to=aconchillo@gmail.com \
    --cc=guile-user@gnu.org \
    --cc=jeremy@korwin-zmijowski.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).