Edgar Andrés Margffoy Tuay
Edgar Andrés Margffoy Tuay
It seems that a container cannot hold references either: https://stackoverflow.com/questions/1155142/why-do-i-get-an-error-in-forming-reference-to-reference-type-map, instead one should wrap a reference around `std::reference_wrapper`, however, I don't know how to extend Slice to convert a reference...
> In other words rust::Slice::operator[] would return const Struct &, whereas rust::Slice::operator[] would also return const Struct &, because add_lvalue_reference is instantiated with a type that is already a reference....
I think it is necessary to update the generated cxx.cc file to consider `add_lvalue_reference` ``` error: no declaration matches ‘T& rust::cxxbridge1::Slice::operator[](std::size_t) const ``` Do you know where I should do...
I tried this change locally, and it seems to work, although I have to use `std::reference_wrapper` on the signature ```rust match &slice.inner { Type::Ref(r) => { // let inner_ref =...
@dtolnay, do you prefer using `std::reference_wrapper` here?
For instance, the main Detectron package has done the refactoring as well: https://github.com/facebookresearch/Detectron/issues/414
If the IPythonConsole will profile the files, we would prefer to use the viewer run API instead.
Hi @ThomasGreen33, thanks for reaching out! From the stacktrace, it seems that the exception is being raised by Dask and not from Spyder, which means that the error is related...
I've just ran the failing tests on Windows directly on the CI (via RDP) and they are passing, I don't know what is causing the failures here  A guess...
Hi @Frodox386, thanks for reporting this issue, have you tried to update to the latest Spyder 4 version and see if the error happens?