From 6ed0424093d35f4195aec6f5f8b1db416149d683 Mon Sep 17 00:00:00 2001 From: Kevin Leung Date: Tue, 23 Apr 2019 18:21:03 +0800 Subject: [PATCH] Convert TypeParameter to TypeParam --- src/tink/macro/Types.hx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/tink/macro/Types.hx b/src/tink/macro/Types.hx index 9306d7c..cd46bc6 100644 --- a/src/tink/macro/Types.hx +++ b/src/tink/macro/Types.hx @@ -276,4 +276,7 @@ class Types { } } + static public function toTypeParam(p:TypeParameter):TypeParam + return TPType(p.t.toComplex()); + }