blob: e059368ada77af897849f3c0305b04ed0f9a65cb (
plain) (
blame)
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
|