Revert "enable nimPreviewDotLikeOps" (#19919)

* Revert "enable nimPreviewDotLikeOps (#19598)"

This reverts commit 6773ffa63d.

* add deprecated message

Co-authored-by: flywind <43030857+xflywind@users.noreply.github.com>
This commit is contained in:
ringabout
2022-08-03 22:39:14 +08:00
committed by GitHub
parent 0d734d7966
commit c08c455016
4 changed files with 3 additions and 2 deletions

View File

@@ -28,6 +28,8 @@
- `shallowCopy` is removed for ARC/ORC. Use `move` when possible or combine assignment and
`sink` for optimization purposes.
- `nimPreviewDotLikeOps` is going to be removed or deprecated.
## Standard library additions and changes
[//]: # "Changes:"

View File

@@ -26,4 +26,3 @@ when defined(windows) and not defined(booting):
switch("define", "nimRawSetjmp")
switch("define", "nimVersion:" & NimVersion)
switch("define", "nimPreviewDotLikeOps")

View File

@@ -37,5 +37,6 @@ 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")

View File

@@ -1 +0,0 @@
doAssert defined(nimPreviewDotLikeOps)