preparations for language extensions: 'sink' and 'lent' types

This commit is contained in:
Andreas Rumpf
2018-01-07 23:09:26 +01:00
parent 3af73682e5
commit e4081a7201
34 changed files with 183 additions and 178 deletions

View File

@@ -249,7 +249,7 @@ type
when defined(nimHasOpt):
type opt*{.magic: "Opt".}[T]
when defined(nimHasSink):
when defined(nimNewRuntime):
type sink*{.magic: "BuiltinType".}[T]
type lent*{.magic: "BuiltinType".}[T]