'+=' 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
|
||||
|
|
@ -1,4 +1,5 @@
|
|||
discard """
|
||||
disabled: true
|
||||
output: '''StmtList
|
||||
VarSection
|
||||
IdentDefs
|
||||
|
|
@ -11,6 +12,8 @@ output: '''StmtList
|
|||
IntLit 56'''
|
||||
"""
|
||||
|
||||
# disabled; can't work as the output is done by the compiler
|
||||
|
||||
import macros
|
||||
|
||||
#emit("type\n TFoo = object\n bar: int")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue