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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 31606 in the body.
You can then email your comments to 31606 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guile <at> gnu.org:
bug#31606; Package guile. (Sun, 27 May 2018 13:15:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-guile <at> gnu.org. (Sun, 27 May 2018 13:15:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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





Reply sent to Mark H Weaver <mhw <at> netris.org>:
You have taken responsibility. (Mon, 11 Jun 2018 14:33:01 GMT) Full text and rfc822 format available.

Notification sent to Tommi Höynälänmaa <tommi.hoynalanmaa <at> gmail.com>:
bug acknowledged by developer. (Mon, 11 Jun 2018 14:33:02 GMT) Full text and rfc822 format available.

Message #10 received at 31606-done <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 10 Jul 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 290 days ago.

Previous Next


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