mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-11 22:08:54 +00:00
Yrc typos and omissions (#25500)
This commit is contained in:
@@ -239,7 +239,7 @@ template main {.dirty.} =
|
||||
# todo
|
||||
discard "fixme"
|
||||
else:
|
||||
when defined(gcArc) or defined(gcOrc):
|
||||
when defined(gcArc) or defined(gcOrc) or defined(gcYrc):
|
||||
block: #seq
|
||||
var x = newSeq[Object](10)
|
||||
let y = x[0]
|
||||
@@ -375,7 +375,7 @@ template main {.dirty.} =
|
||||
type
|
||||
Color = enum
|
||||
Red, Blue, Yellow
|
||||
|
||||
|
||||
type
|
||||
ObjectVarint3 = object
|
||||
case kind: Color = Blue
|
||||
@@ -663,7 +663,7 @@ template main {.dirty.} =
|
||||
|
||||
when not(T is void):
|
||||
v.vResultPrivate
|
||||
|
||||
|
||||
type R = Result[int, string]
|
||||
|
||||
proc testAssignResult() =
|
||||
|
||||
Reference in New Issue
Block a user