Skip to content

Commit

Permalink
enable stricteffects
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Jan 17, 2022
1 parent c7d5b8c commit 02a451d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,6 @@ when defined(nimStrictMode):
# future work: XDeclaredButNotUsed

switch("define", "nimVersion:" & NimVersion)
when defined(nimHasEffectsOf):
switch("experimental", "strictEffects")
switch("warningAsError", "Effect:on")

0 comments on commit 02a451d

Please sign in to comment.