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
commit c08c455016
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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)