-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile error from v0.11.0 on / .filter() / casts give different sizes error #40
Comments
The first part is on module scope, the second part inside a constructor. When I use |
I cross-checked the v0.10.1 and v0.11.0 and there is a big change in filter.d which leads to the problem shown. |
It was intentional to remove the Voldemort types in the filter, but not the side effect of changing size. By wrapping FilterObservable! XXX in Observable! T and handling it, you may be able to achieve the desired operation at the expense of a little overhead. |
So, you are going to fix this? I don't see how I can "wrap FilterObservable! XXX in Observable! T and handling it" can you give an example? |
I still don't know if this can be fixed. It depends on the results of the survey we are going to do. However, there is no future to remove the declaration of FilterObservable and FilterObserver.
Well, There is an example using "observableObject". rx/examples/mvvm-gtk-d/source/mvvm/model.d Lines 9 to 26 in 0d8c52d
This is like the inputRangeObject function for the InputRange interface. |
This problem still exists, and I'm lost what to do. The example doesn't help me at all. Don't understand how it solves the problem. I don't understand what "survey" you reference too nor this part "no future to remove the declaration of FilterObservable and FilterObserver." |
Ok, seems I somehow managed to get it to work like this:
Not sure what kind of side-effect this has. |
I think by survey, he meant researching into the problem to see how he can solve it. And the I think since he translates with Google translate, there might be loss of some context. |
With every version > 0.10.1 I get a very strange casting error I don't understand:
My code works with version v0.10.1
The text was updated successfully, but these errors were encountered: