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

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 !

Jérémy




  reply	other threads:[~2021-03-31 19:47 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 [this message]
2021-04-01  6:13     ` Aleix Conchillo Flaqué
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=2eee5e572809d6f4120babab348379ffa82eb495.camel@korwin-zmijowski.fr \
    --to=jeremy@korwin-zmijowski.fr \
    --cc=aconchillo@gmail.com \
    --cc=guile-user@gnu.org \
    /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).