Skip to content

Commit 7102b79

Browse files
wetorsbinet
authored andcommitted
py: fix basic type not run Ready()
1 parent bd13450 commit 7102b79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/type.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ func (t *Type) NewTypeFlags(Name string, Doc string, New NewFunc, Init InitFunc,
306306
Dict: StringDict{},
307307
Bases: Tuple{t},
308308
}
309-
TypeDelayReady(t)
309+
TypeDelayReady(tt)
310310
return tt
311311
}
312312

0 commit comments

Comments
 (0)