From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jan Wedekind Newsgroups: gmane.lisp.guile.devel Subject: Re: GNU Guile 2.1.4 released [beta] Date: Fri, 16 Sep 2016 21:42:40 +0100 (BST) Message-ID: References: <87bmzqbtf6.fsf@pobox.com> <20160916124951.2499a660@capac> Reply-To: Jan Wedekind NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Trace: blaine.gmane.org 1474058587 31586 195.159.176.226 (16 Sep 2016 20:43:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Sep 2016 20:43:07 +0000 (UTC) User-Agent: Alpine 2.11 (DEB 23 2013-08-11) Cc: Andy Wingo , guile-devel@gnu.org To: David Pirotte Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Sep 16 22:43:03 2016 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bkzyJ-0006vn-IG for guile-devel@m.gmane.org; Fri, 16 Sep 2016 22:42:55 +0200 Original-Received: from localhost ([::1]:43710 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkzyG-0005t6-QC for guile-devel@m.gmane.org; Fri, 16 Sep 2016 16:42:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52208) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkzyC-0005t1-S0 for guile-devel@gnu.org; Fri, 16 Sep 2016 16:42:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkzy8-0008TX-O6 for guile-devel@gnu.org; Fri, 16 Sep 2016 16:42:47 -0400 Original-Received: from basicbox4.server-home.net ([195.137.212.26]:49516) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkzy8-0008TQ-Hf for guile-devel@gnu.org; Fri, 16 Sep 2016 16:42:44 -0400 Original-Received: from wedemob.home (host86-163-167-103.range86-163.btcentralplus.com [86.163.167.103]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by basicbox4.server-home.net (Postfix) with ESMTPSA id EFE54153066A; Fri, 16 Sep 2016 22:42:41 +0200 (CEST) X-X-Sender: jan@wedemob In-Reply-To: <20160916124951.2499a660@capac> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 195.137.212.26 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:18675 Archived-At: On Fri, 16 Sep 2016, David Pirotte wrote: > Jan, > >> I haven't managed to isolate it properly but I observed some strange >> problem with "concatenate" (using my "aiscm" library). > >> (define-method (match (i ) . args) ...) >> ... >> (apply match (concatenate (list (list 1) (list 2 2 3 4 5 6 )))) >> oop/goops.scm:1336:2: oop/goops.scm:1336:2: In procedure vector-ref: Value >> out of range: 7 > > impossible to help you on this because the snipset is incomplete > please provide a complete match definition > > Also, I think match is really a 'problematic' name, because it is defined in > (ice-9 match), and most of us almost always import this module. > > Chers, > David > Hi David, I managed to create a failing test. After a certain number of differently typed calls there is an error in "multiple-arity-dispatcher": (use-modules (oop goops)) (define-generic native-type) (define-method (native-type (i ) . args) 0) (define-method (native-type (i ) . args) 1) (define-method (native-type (b ) . args) 2) (native-type 1) (native-type 1.3) (native-type #f) (native-type 1 1.2) (native-type 1.4 2) (native-type 1.4 2 3) ;(native-type 1.4 1.5); add more calls as needed ;(native-type #f #t); add more calls as needed ;oop/goops.scm:1336:2: oop/goops.scm:1336:2: In procedure vector-ref: Value out of range: 3 ; ;Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. ,bt ;In oop/goops.scm: ;While executing meta-command: ;ERROR: In procedure vector-set!: Value out of range: 5 I hope you can fix it. I can have a look as well but I don't understand the code well enough at the moment. Regards Jan