public inbox for kawa@sourceware.org
 help / color / mirror / Atom feed
* Testsuite failing
@ 2014-07-09  4:24 Matthieu Vachon
  2014-07-09  4:47 ` Matthieu Vachon
  2014-07-09 22:03 ` Per Bothner
  0 siblings, 2 replies; 6+ messages in thread
From: Matthieu Vachon @ 2014-07-09  4:24 UTC (permalink / raw)
  To: kawa

[-- Attachment #1: Type: text/plain, Size: 246 bytes --]

Here a patch that make `testsuite/errors3.scm` pass. The message was
expecting `... with required type int` while it's now `... with
required type character`.

Maybe the code should be fixed and not the test ... not sure about it.

Regards,
Matt

[-- Attachment #2: fix-testsuite-errors3.patch --]
[-- Type: application/octet-stream, Size: 645 bytes --]

Index: testsuite/errors3.scm
===================================================================
--- testsuite/errors3.scm	(revision 7955)
+++ testsuite/errors3.scm	 (working copy)
@@ -4,5 +4,5 @@
    (format #t "Missing exception i: ~w~%" i))
  (ex java.lang.Exception
       (format #t "Caught: ~w~%" ex)))
-;; Diagnostic: errors3.scm:2:1: warning - type boolean is incompatible with required type int
+;; Diagnostic: errors3.scm:2:1: warning - type boolean is incompatible with required type character
 ;; Output: Caught: Value 'true' for variable 'i' has wrong type (java.lang.Boolean) (java.lang.Boolean cannot be cast to java.lang.Number)

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-07-10  2:09 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-09  4:24 Testsuite failing Matthieu Vachon
2014-07-09  4:47 ` Matthieu Vachon
2014-07-09  4:49   ` Matthieu Vachon
2014-07-09 22:03 ` Per Bothner
2014-07-10  1:34   ` Per Bothner
2014-07-10  2:09     ` Matthieu Vachon

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).