Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enable nimPreviewDotLikeOps #19598

Merged
merged 1 commit into from
Mar 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)