diff options
Diffstat (limited to 'compiler/transf.nim')
-rwxr-xr-x | compiler/transf.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/transf.nim b/compiler/transf.nim index 0fa4883ea..ff42ff592 100755 --- a/compiler/transf.nim +++ b/compiler/transf.nim @@ -429,7 +429,7 @@ proc transformConv(c: PTransf, n: PNode): PTransNode = result = generateThunk(c, x, dest).ptransnode else: result = transformSons(c, n) - of tyGenericParam, tyOrdinal: + of tyGenericParam, tyOrdinal, tyTypeClass: result = transform(c, n.sons[1]) # happens sometimes for generated assignments, etc. else: |