Closed imzhaodong closed 4 years ago
Nullable!Date cannot be wrapped. Nullable and Date are all from Phobos library so this looks a autowrap bug. Basically below simple code cannot be wrapped by autowrap, cause loading symbol error when load it into Python.
Nullable!Date
export struct Hack61 { import std.typecons : Nullable; import std.datetime : Date; Date m1; //OK Nullable!int m2; //OK Nullable!Date m3; //not OK }
Nullable!Date
cannot be wrapped. Nullable and Date are all from Phobos library so this looks a autowrap bug. Basically below simple code cannot be wrapped by autowrap, cause loading symbol error when load it into Python.