From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5980 invoked by alias); 1 Jan 2019 21:42:47 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 5971 invoked by uid 89); 1 Jan 2019 21:42:47 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-27.6 required=5.0 tests=BAYES_00,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=suspected X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 01 Jan 2019 21:42:46 +0000 Received: from [10.9.9.210] (helo=mailfront10.runbox.com) by mailtransmit02.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1geRoC-0002eL-5U; Tue, 01 Jan 2019 22:42:44 +0100 Received: by mailfront10.runbox.com with esmtpsa (uid:757155 ) (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) id 1geRnz-0003lm-9u; Tue, 01 Jan 2019 22:42:31 +0100 Subject: Re: Show all warnings and errors To: Duncan Mak Cc: kawa mailing list References: <93f2d7a1-69f9-9574-7604-ad7a8df2033e@bothner.com> <008aca45-bf67-e8db-54dc-76930b6682c8@bothner.com> From: Per Bothner Message-ID: <7ebffea4-cd41-20be-d4b4-8378159a9439@bothner.com> Date: Tue, 01 Jan 2019 21:42:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------783B68C7A922758F245A4398" X-IsSubscribed: yes X-SW-Source: 2019-q1/txt/msg00013.txt.bz2 This is a multi-part message in MIME format. --------------783B68C7A922758F245A4398 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-length: 296 On 1/1/19 1:30 PM, Duncan Mak wrote: > It looks like this: > https://gist.github.com/duncanmak/38f451c9f26ba0000be38d0bd304313b#file-more-changes Ah - as I suspected, I missed a call to Compilation.maxERrors. Try the attached patch. -- --Per Bothner per@bothner.com http://per.bothner.com/ --------------783B68C7A922758F245A4398 Content-Type: text/x-patch; name="ModExp.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ModExp.patch" Content-length: 613 diff --git a/gnu/expr/ModuleExp.java b/gnu/expr/ModuleExp.java index f2e3c2ec0..f017a72b8 100644 --- a/gnu/expr/ModuleExp.java +++ b/gnu/expr/ModuleExp.java @@ -230,7 +230,8 @@ public class ModuleExp extends LambdaExp comp.process(Compilation.RESOLVED); comp.getMinfo().loadByStages(Compilation.WALKED); - if (msg != null ? messages.checkErrors(msg, 20) : messages.seenErrors()) + if (msg != null ? messages.checkErrors(msg, Compilation.maxErrors()) + : messages.seenErrors()) return null; if (! comp.mustCompile) { --------------783B68C7A922758F245A4398--