From acbe27b082c202895df1b78a82951389b4a232a0 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 7 Oct 2020 13:05:19 +0200 Subject: [PATCH] disable 'observable stores' warning message for 1.4 (#15507) --- compiler/lineinfos.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/lineinfos.nim b/compiler/lineinfos.nim index db0569fdaa..a0b1d19654 100644 --- a/compiler/lineinfos.nim +++ b/compiler/lineinfos.nim @@ -214,7 +214,7 @@ type TNoteKinds* = set[TNoteKind] proc computeNotesVerbosity(): array[0..3, TNoteKinds] = - result[3] = {low(TNoteKind)..high(TNoteKind)} - {} + result[3] = {low(TNoteKind)..high(TNoteKind)} - {warnObservableStores} result[2] = result[3] - {hintStackTrace, warnUninit, hintExtendedContext} result[1] = result[2] - {warnProveField, warnProveIndex, warnGcUnsafe, hintPath, hintDependency, hintCodeBegin, hintCodeEnd,