unhide ObservableStores and hide ImplicitTemplateRedefinition warnings (#6678)

This commit is contained in:
tersec 2024-10-24 10:40:56 +00:00 committed by GitHub
parent 40f2acc93c
commit 8a6eab7af8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

View File

@ -185,14 +185,14 @@ if canEnableDebuggingSymbols:
# `switch("warning[CaseTransition]", "off")` fails with "Error: invalid command line option: '--warning[CaseTransition]'" # `switch("warning[CaseTransition]", "off")` fails with "Error: invalid command line option: '--warning[CaseTransition]'"
switch("warning", "CaseTransition:off") switch("warning", "CaseTransition:off")
# The compiler doth protest too much, methinks, about all these cases where it can't
# do its (N)RVO pass: https://github.com/nim-lang/RFCs/issues/230
switch("warning", "ObservableStores:off")
# Too many right now to read compiler output. Warnings are legitimate, but # Too many right now to read compiler output. Warnings are legitimate, but
# should be fixed out-of-band of `unstable` branch. # should be fixed out-of-band of `unstable` branch.
switch("warning", "BareExcept:off") switch("warning", "BareExcept:off")
# Chronicles triggers these
# vendor/nim-chronicles/chronicles.nim(74, 14) Warning: template 'activeChroniclesScope' is implicitly redefined; this is deprecated, add an explicit .redefine pragma [ImplicitTemplateRedefinition]
switch("warning", "ImplicitTemplateRedefinition:off")
# Too many of these because of Defect compat in 1.2 # Too many of these because of Defect compat in 1.2
switch("hint", "XCannotRaiseY:off") switch("hint", "XCannotRaiseY:off")