disable 'observable stores' warning message for 1.4 (#15507)

This commit is contained in:
Andreas Rumpf
2020-10-07 13:05:19 +02:00
committed by GitHub
parent 51e3e0c7c4
commit acbe27b082

View File

@@ -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,