improvements to get code size down for programs that don't use GC
This commit is contained in:
parent
c9d21164be
commit
e25384db89
18 changed files with 642 additions and 181 deletions
14
tests/reject/temptycaseobj.nim
Normal file
14
tests/reject/temptycaseobj.nim
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
discard """
|
||||
line: 11
|
||||
errormsg: "identifier expected, but found '[same indentation]'"
|
||||
"""
|
||||
|
||||
type
|
||||
TMyEnum = enum enA, enU, enO
|
||||
TMyCase = object
|
||||
case e: TMyEnum
|
||||
of enA:
|
||||
of enU: x, y: int
|
||||
of enO: a, b: string
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue