From unknown Fri Jun 13 09:56:32 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#17941 <17941@debbugs.gnu.org> To: bug#17941 <17941@debbugs.gnu.org> Subject: Status: `define-method' special-cases zero-subform body Reply-To: bug#17941 <17941@debbugs.gnu.org> Date: Fri, 13 Jun 2025 16:56:32 +0000 retitle 17941 `define-method' special-cases zero-subform body reassign 17941 guile submitter 17941 Taylan Ulrich Bayirli/Kammer severity 17941 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 04 18:57:58 2014 Received: (at submit) by debbugs.gnu.org; 4 Jul 2014 22:57:58 +0000 Received: from localhost ([127.0.0.1]:43199 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3CQX-00084F-T2 for submit@debbugs.gnu.org; Fri, 04 Jul 2014 18:57:58 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60555) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1X3CQV-000842-FE for submit@debbugs.gnu.org; Fri, 04 Jul 2014 18:57:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3CQK-0002Sq-Nt for submit@debbugs.gnu.org; Fri, 04 Jul 2014 18:57:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:43435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3CQK-0002SW-Kd for submit@debbugs.gnu.org; Fri, 04 Jul 2014 18:57:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34019) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3CQF-0002NO-2t for bug-guile@gnu.org; Fri, 04 Jul 2014 18:57:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1X3CQ9-0002Lr-Ga for bug-guile@gnu.org; Fri, 04 Jul 2014 18:57:39 -0400 Received: from mail-wi0-x232.google.com ([2a00:1450:400c:c05::232]:50841) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1X3CQ9-0002Lh-9l for bug-guile@gnu.org; Fri, 04 Jul 2014 18:57:33 -0400 Received: by mail-wi0-f178.google.com with SMTP id n15so4331065wiw.5 for ; Fri, 04 Jul 2014 15:57:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:subject; bh=mDYufneiPcedk6puuY0E3Gj+yoUFBcI4oHbw8D4g/dE=; b=Bs25O0cE6r0NjcnrIrT3WygJe1bXWq+C6ChvlZKvqvDDnPwRQG8AwpEXh9/0LVaNkE gKvnqAmiIQCinrocQEoBDtSLNRQT0jBTEt8zbRKanP+G9n9ttx4VjpnmqLCfDnmMcqsM Tmfru72gVu6P/9Qj5zMd1dJyRVzK0eEd3blXGJN069lHQSrYflOukBWtsoxoa27eLorV tYTicG1TvK4AXoWCYaPcypSxO6hNoFX6bE/teG4ed36gfOPNnuTMkUjQOlNnBAWFoMTb I43ywDYYc3k6LEALqui2qJRUrTpESQQAyCMfQ4rgLKHqKdpeQAhitxNpNKrKvtsfehSY w8rw== X-Received: by 10.194.109.170 with SMTP id ht10mr15469572wjb.72.1404514652359; Fri, 04 Jul 2014 15:57:32 -0700 (PDT) Received: from taylan.uni.cx ([85.100.205.21]) by mx.google.com with ESMTPSA id kp5sm71826712wjb.30.2014.07.04.15.57.31 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Jul 2014 15:57:31 -0700 (PDT) Date: Sat, 05 Jul 2014 01:57:13 +0300 Message-Id: <87y4w8d96e.fsf@taylan.uni.cx> From: Taylan Ulrich Bayirli/Kammer To: bug-guile@gnu.org Subject: `define-method' special-cases zero-subform body X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) The `define-method' macro (deferring to the `method' macro) in modules/oop/goops.scm special-cases a method body of zero forms, making it (if #f #f). I don't know if this has a purpose in first place, but the following fails nevertheless, making the special-case seem moot and introducing an inconsistency: (define-method (foo) (begin)) Related bug report: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=17940 Bug originally mentioned in: http://lists.gnu.org/archive/html/guile-user/2014-07/msg00007.html Taylan From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 01 19:24:49 2014 Received: (at control) by debbugs.gnu.org; 1 Oct 2014 23:24:49 +0000 Received: from localhost ([127.0.0.1]:57838 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZTGL-0005zp-3e for submit@debbugs.gnu.org; Wed, 01 Oct 2014 19:24:49 -0400 Received: from world.peace.net ([96.39.62.75]:44967) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XZTGJ-0005zb-1K for control@debbugs.gnu.org; Wed, 01 Oct 2014 19:24:47 -0400 Received: from c-24-62-95-23.hsd1.ma.comcast.net ([24.62.95.23] helo=jojen) by world.peace.net with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1XZTGD-0002K2-EJ; Wed, 01 Oct 2014 19:24:41 -0400 From: Mark H Weaver To: control@debbugs.gnu.org Date: Wed, 01 Oct 2014 19:24:39 -0400 Message-ID: <8761g3bcg8.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 10492 minor severity 10940 minor severity 17941 minor severity 18477 important severity 18520 wishlist thanks [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 2.0 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: severity 10492 minor severity 10940 minor severity 17941 minor severity 18477 important severity 18520 wishlist thanks [...] Content analysis details: (2.0 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject severity 10492 minor severity 10940 minor severity 17941 minor severity 18477 important severity 18520 wishlist thanks