--- Begin Message ---
Subject: |
Predicate instance? doesn't work for non-struct objects |
Date: |
Sun, 27 May 2018 16:13:57 +0300 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#31606: Predicate instance? doesn't work for non-struct objects |
Date: |
Mon, 11 Jun 2018 10:31:11 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Hi,
Tommi Höynälänmaa <address@hidden> 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
--- End Message ---