Skip to content

Commit 04a9c5b

Browse files
committed
py: fix basic type not run Ready()
1 parent cc7dfae commit 04a9c5b

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)