GNU bug report logs - #31606
Predicate instance? doesn't work for non-struct objects

Previous Next

Package: guile;

Reported by: Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>

Date: Sun, 27 May 2018 13:15:01 UTC

Severity: normal

Done: Mark H Weaver <mhw <at> netris.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Mark H Weaver <mhw <at> netris.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#31606: closed (Predicate instance? doesn't work for
 non-struct objects)
Date: Mon, 11 Jun 2018 14:33:01 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 11 Jun 2018 10:31:11 -0400
with message-id <87h8m975u8.fsf <at> netris.org>
and subject line Re: bug#31606: Predicate instance? doesn't work for non-struct objects
has caused the debbugs.gnu.org bug report #31606,
regarding Predicate instance? doesn't work for non-struct objects
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
31606: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=31606
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>
To: bug-guile <at> gnu.org
Subject: Predicate instance? doesn't work for non-struct objects
Date: Sun, 27 May 2018 16:13:57 +0300
Predicate instance? in Guile 2.2.3 doesn't work for non-struct objects.

In order to reproduce the bug give the following commands in Guile:
---cut here---
(import (oop goops))
(instance? 1)
---cut here---

The actual output is:
---cut here---
<unnamed port>:2:0: In procedure struct_vtable: Wrong type argument in 
position 1 (expecting struct): 1

Entering a new prompt.  Type `,bt' for a backtrace or `,q' to continue.
---cut here---

I use Guile on Ubuntu 18.04.

     - Tommi Höynälänmaa



[Message part 3 (message/rfc822, inline)]
From: Mark H Weaver <mhw <at> netris.org>
To: Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>
Cc: 31606-done <at> debbugs.gnu.org
Subject: Re: bug#31606: Predicate instance? doesn't work for non-struct objects
Date: Mon, 11 Jun 2018 10:31:11 -0400
Hi,

Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com> writes:
> Predicate instance? in Guile 2.2.3 doesn't work for non-struct objects.

Fixed in commit ff2adb04cb4be9309abeb3feeee7cad97976fc2d on the
stable-2.2 branch.  This fix will be in guile-2.2.4.
I'm closing this bug now.  Thanks for the report!

      Mark


This bug report was last modified 7 years and 38 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.