summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorTimothee Cour <timothee.cour2@gmail.com>2020-06-12 02:03:52 -0700
committerGitHub <noreply@github.com>2020-06-12 11:03:52 +0200
commite30a08103da14d5b1e02d6c04dc2d5afb5b9368d (patch)
tree225c8dd21b8097b2938b3cf9796d8ba2d5c3c783 /lib
parent82e424189ee4bf0f05fcf5695fe1c3e2d2dfc51f (diff)
downloadNim-e30a08103da14d5b1e02d6c04dc2d5afb5b9368d.tar.gz
remove tyOpt, mOpt (#14636)
* remove tyOpt, mOpt

* fixup
Diffstat (limited to 'lib')
-rw-r--r--lib/core/macros.nim2
-rw-r--r--lib/system/hti.nim2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index 9e17b665a..3590a162b 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -106,7 +106,7 @@ type
     ntyError,
     ntyBuiltinTypeClass, ntyUserTypeClass, ntyUserTypeClassInst,
     ntyCompositeTypeClass, ntyInferred, ntyAnd, ntyOr, ntyNot,
-    ntyAnything, ntyStatic, ntyFromExpr, ntyOpt, ntyVoid
+    ntyAnything, ntyStatic, ntyFromExpr, ntyOptDeprecated, ntyVoid
 
   TNimTypeKinds* {.deprecated.} = set[NimTypeKind]
   NimSymKind* = enum
diff --git a/lib/system/hti.nim b/lib/system/hti.nim
index 63c1a5448..b77f7ccde 100644
--- a/lib/system/hti.nim
+++ b/lib/system/hti.nim
@@ -69,7 +69,7 @@ type
     tyAnythingHidden,
     tyStaticHidden,
     tyFromExprHidden,
-    tyOpt,
+    tyOptDeprecated,
     tyVoidHidden
 
   TNimNodeKind = enum nkNone, nkSlot, nkList, nkCase