Using taskNew from GI.Gio.Objects.Task in the following way:
taskNew (Nothing :: Maybe Object) (Nothing :: Maybe Cancellable) Nothing
leads to the following error message at runtime:
WARNING: Trying to wrap a null pointer in ‘newObject’, this may lead to crashes.
• Callstack for the unsafe call to ‘newObject’:
CallStack (from HasCallStack):
newObject, called at ./GI/Gio/Callbacks.hs:1230:23 in gi-gio-2.0.37-Dn5ULPaCeDLBmH4QAzqMhX:GI.Gio.Callbacks
This is probably a bug in the introspection data,
please report it at https://github.com/haskell-gi/haskell-gi/issues
So, I am reporting it here, as instructed :)
Using
taskNewfromGI.Gio.Objects.Taskin the following way:taskNew (Nothing :: Maybe Object) (Nothing :: Maybe Cancellable) Nothingleads to the following error message at runtime:
So, I am reporting it here, as instructed :)