Update PolymodMacro.hx

This commit is contained in:
lemz1 2024-10-29 00:05:00 +01:00 committed by lemz
parent ee63e8d8d6
commit d27433318d

View file

@ -144,7 +144,7 @@ class PolymodMacro
Context.defineType( Context.defineType(
{ {
pos: Context.currentPos(), pos: Context.currentPos(),
pack: ['polymod', 'abstracts'].concat(abstractCls.module.split('.')), pack: ['polymod', 'abstracts'].concat(abstractCls.pack),
name: abstractCls.name, name: abstractCls.name,
kind: TypeDefKind.TDClass(null, [], false, false, false), kind: TypeDefKind.TDClass(null, [], false, false, false),
fields: fields, fields: fields,