unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Daniel Llorens <daniel.llorens@bluewin.ch>
To: 13485@debbugs.gnu.org
Subject: bug#13485: wrong warning for format ~!
Date: Fri, 18 Jan 2013 13:09:00 +0100	[thread overview]
Message-ID: <14036101-9158-4630-A94B-530B63338BB4@bluewin.ch> (raw)


In 2.0.7

scheme@(guile-user)> (import (ice-9 format))
scheme@(guile-user)> (format #t "~!")
;;; <stdin>:2:0: warning: "~!": wrong number of `format' arguments: expected 1, got 0
$1 = #t
scheme@(guile-user)> (format #t "~!" 3)
$2 = #t
scheme@(guile-user)> (format #t "~!~a" 3 9)  
3$3 = #t
scheme@(guile-user)> (format #t "~a~!" 3 9)  
3$4 = #t
scheme@(guile-user)> (version)
$5 = "2.0.7.28-581f4"

So it doesn't take an argument, it only affects the warning.

Regards,

	Daniel




             reply	other threads:[~2013-01-18 12:09 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-18 12:09 Daniel Llorens [this message]
2013-01-18 21:36 ` bug#13485: wrong warning for format ~! Ian Price
2013-01-19 17:24   ` Ian Price
2013-01-19 17:45     ` Ian Price
2013-01-19 20:28     ` Ludovic Courtès
2013-01-28 14:36       ` Ian Price
2013-01-28 16:23         ` Ludovic Courtès
2013-03-07 22:24           ` Andy Wingo

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=14036101-9158-4630-A94B-530B63338BB4@bluewin.ch \
    --to=daniel.llorens@bluewin.ch \
    --cc=13485@debbugs.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).