From a164b335edf2347a979f2d1f2a999ed2f93e03fa Mon Sep 17 00:00:00 2001 From: Juraj Kirchheim Date: Mon, 18 Dec 2017 11:28:23 +0100 Subject: [PATCH] Improve Type to ComplexType conversion for type parameters. --- src/tink/macro/Sisyphus.hx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/tink/macro/Sisyphus.hx b/src/tink/macro/Sisyphus.hx index 48283fc..01a9bf0 100644 --- a/src/tink/macro/Sisyphus.hx +++ b/src/tink/macro/Sisyphus.hx @@ -70,10 +70,7 @@ class Sisyphus { case TInst(_.get() => classType, params): switch (classType.kind) { case KTypeParameter(_): - TPath({ - name: classType.name, - pack: [], - }); + direct();//TODO: check if the parameter is in scope, in which case the name can simply be used default: TPath(toTypePath(classType, params)); }