* fix #20253 * change NimbleStableCommit * Update koch.nim Co-authored-by: Andreas Rumpf <rumpf_a@web.de>
This commit is contained in:
parent
1e52423774
commit
5f41be3b45
2 changed files with 14 additions and 1 deletions
10
tests/misc/t20253.nim
Normal file
10
tests/misc/t20253.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
discard """
|
||||
errormsg: "'result' requires explicit initialization"
|
||||
line: 10
|
||||
"""
|
||||
|
||||
type Meow {.requiresInit.} = object
|
||||
init: bool
|
||||
|
||||
proc initMeow(): Meow =
|
||||
discard
|
||||
Loading…
Add table
Add a link
Reference in a new issue