summary refs log tree commit diff stats
path: root/tests/collections/tmapit.nim
Commit message (Expand)AuthorAgeFilesLines
* improves new testsAraq2015-10-121-2/+7
* sequtils related changesPeter Mora2015-10-051-0/+28
sts/errmsgs/tmake_tuple_visible.nim?h=devel&id=ef6eda4cb4b28a6c4a2706ea56240bc708e36349'>ef6eda4cb ^
c59ab1d9c ^
ef6eda4cb ^
c59ab1d9c ^


















1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
           
                                                           
          
                                                      


















                                             
discard """
  errormsg: '''got <tuple of (type NimEdAppWindow, int)>'''
  line: 22
  nimout: '''got <tuple of (type NimEdAppWindow, int)>
but expected one of:
template xxx(tn: typedesc; i: int)'''
"""

type
  NimEdAppWindow = ptr NimEdAppWindowObj
  NimEdAppWindowObj = object
    i: int

template gDefineTypeExtended*(tn: typeDesc) =
  discard

gDefineTypeExtended (NimEdAppWindow)

template xxx*(tn: typeDesc, i: int) =
  discard

xxx (NimEdAppWindow, 0)
# bug #6776