Skip to content

Commit

Permalink
enable nimPreviewDotLikeOps (nim-lang#19598)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout authored Mar 9, 2022
1 parent 2beefb9 commit 6773ffa
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions config/config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ when defined(nimStrictMode):
# future work: XDeclaredButNotUsed

switch("define", "nimVersion:" & NimVersion)
switch("define", "nimPreviewDotLikeOps")
1 change: 0 additions & 1 deletion tests/config.nims
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,5 @@ switch("define", "nimExperimentalLinenoiseExtra")

# preview APIs are expected to be the new default in upcoming versions
switch("define", "nimPreviewFloatRoundtrip")
switch("define", "nimPreviewDotLikeOps")
switch("define", "nimPreviewJsonutilsHoleyEnum")
switch("define", "nimPreviewHashRef")
1 change: 1 addition & 0 deletions tests/stdlib/texperimental.nim
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
doAssert defined(nimPreviewDotLikeOps)

0 comments on commit 6773ffa

Please sign in to comment.