From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mailtransmit04.runbox.com (mailtransmit04.runbox.com [IPv6:2a0c:5a00:149::25]) by sourceware.org (Postfix) with ESMTPS id 98248385700C for ; Sun, 18 Sep 2022 19:12:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 98248385700C Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=bothner.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=bothner.com Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit04.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1oZzhy-008qZq-TF; Sun, 18 Sep 2022 21:12:02 +0200 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=bothner.com ; s=selector1; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:Cc:To:Subject:MIME-Version:Date:Message-ID; bh=lAtOUXLnYPgoLHeEHWxdra5hJ9tZ7FgjT5r/bR0ZtTE=; b=Ak/CWGkryedByDXUKwsLYPFqn/ EO0fcuqUgjBSfAEYQb3vSabGaSUSZwkR4r2L/MdbhThe/nTxKy/BFyXDDjHDh6RDfGTURZHI0F4Fq lq9lqPhVB4h+3LX+d30PYXh6z6ptUCeMx3cCwse+M83hP7ycRuU7eIc5ChWkn5wUyu8dYwQy6Irkk wO0UITsfeInb54fFkuihN3McojK56O+GOU5ciHM5QKsgKIUl9MriWu05hlcjeWgT+mLlreTt7Y6cr YCJF3OPNeDqHK6oazrzgXL0001c8RpF2Aq8JlFmUC3JNOLWhhuN8ZqM5w5aKL+cZk/+nC32gpgQXw TGmFVDXA==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1oZzhy-0002m9-3O; Sun, 18 Sep 2022 21:12:02 +0200 Received: by submission01.runbox with esmtpsa [Authenticated ID (524175)] (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) id 1oZzhs-0003xi-6t; Sun, 18 Sep 2022 21:11:56 +0200 Message-ID: Date: Sun, 18 Sep 2022 21:11:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.2.1 Subject: Re: Show all warnings and errors Content-Language: en-US To: Duncan Mak Cc: kawa mailing list References: <93f2d7a1-69f9-9574-7604-ad7a8df2033e@bothner.com> <008aca45-bf67-e8db-54dc-76930b6682c8@bothner.com> <7ebffea4-cd41-20be-d4b4-8378159a9439@bothner.com> From: Per Bothner In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 9/18/22 20:03, Duncan Mak wrote: > Hello Per, > > I started using Kawa for some hacking recently and I'm running into the same issue here, so I looked up this conversation and set `--max-errors=-1`. > > It seems like the number of errors printed is still capped at 20, did this regress somehow? Or the fix was incomplete. I see that in gnu/expr/ModuleExp.java line 259 there is: if (msg != null ? messages.checkErrors(msg, 20) Perhaps that should be: if (msg != null ? messages.checkErrors(msg, Compilation.maxErrors()) -- --Per Bothner per@bothner.com http://per.bothner.com/