Fix 3.2.1.
This commit is contained in:
@@ -51,9 +51,9 @@ class Types {
|
|||||||
|
|
||||||
static public function getMeta(type:Type)
|
static public function getMeta(type:Type)
|
||||||
return switch type {
|
return switch type {
|
||||||
case TInst(_.get().meta => m, _)
|
case TInst(_.get().meta => m, _): [m];
|
||||||
| TEnum(_.get().meta => m, _)
|
case TEnum(_.get().meta => m, _): [m];
|
||||||
| TAbstract(_.get().meta => m, _): [m];
|
case TAbstract(_.get().meta => m, _): [m];
|
||||||
case TType(_.get() => t, _): [t.meta].concat(getMeta(t.type));
|
case TType(_.get() => t, _): [t.meta].concat(getMeta(t.type));
|
||||||
case TLazy(f): getMeta(f());
|
case TLazy(f): getMeta(f());
|
||||||
default: [];
|
default: [];
|
||||||
|
|||||||
Reference in New Issue
Block a user