'+=' etc for all floating point types
This commit is contained in:
parent
f3980eb24a
commit
b5d8e8bfaa
6 changed files with 21 additions and 13 deletions
9
tests/reject/tenummix.nim
Normal file
9
tests/reject/tenummix.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
discard """
|
||||
errormsg: "type mismatch"
|
||||
"""
|
||||
|
||||
type
|
||||
TE1 = enum eA, eB
|
||||
TE2 = enum eC, eD
|
||||
|
||||
assert eA != eC
|
||||
Loading…
Add table
Add a link
Reference in a new issue