guile-user
[Top][All Lists]
Advanced

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

Re: guild raises warnings about unused variable from SRFI-64


From: Jérémy Korwin-Zmijowski
Subject: Re: guild raises warnings about unused variable from SRFI-64
Date: Wed, 31 Mar 2021 21:47:11 +0200
User-agent: Evolution 3.36.4-0ubuntu1

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 via email to

[Prev in Thread] Current Thread [Next in Thread]