allow again proc parameters for connect()
This commit is contained in:
parent
8329b8841e
commit
a1f80d095a
1 changed files with 4 additions and 0 deletions
|
|
@ -93,6 +93,10 @@ macro mconnect(widget: gobject.Object; signal: string; p: typed; arg: typed; ign
|
|||
|
||||
if at.kind == nnkTupleConstr or at.kind == nnkTupleTy:
|
||||
ats = at.toStrLit.strVal
|
||||
|
||||
elif at.kind == nnkProcTy: # v0.9.8
|
||||
ats = at.toStrLit.strVal
|
||||
|
||||
elif at.kind == nnkRefTy:
|
||||
ats = at.getType[0].strVal & " " & at.getType[1].owner.strVal & '.' & at.getType[1].strVal
|
||||
else:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue