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
Fix Issue 11336 - ElementType does not support types with disabled postb... #1658
Conversation
Nop. It was Kenji in 900fa89. I just removed dummy arguments in db1d909.
About Otherwise the pull LGTM. |
Hum... I had forgotten about static arrays, let alone empty arrays. |
Added a link to bugzilla in the pull request description. |
LGTM. The failures, as always, are completely unrelated (I really hate that we still don't have a reliable test-system due to all of these random failures..) |
Fix Issue 11336 - ElementType does not support types with disabled postb...
Yup, unreliable tests suck. I've got a change that's been running on a few test nodes to help address the error fetching from github (through a little retrying). The majority of the failures are not in the system, but rather the code being tested. Yeah, I'm nit picking, but it helps to place blame carefully and correctly. |
Sorry, I'm mostly referring to the synchronization and random test42.d bugs. |
@denis-sh: Dereferencing |
Indeed. And it also fails for |
Well... The difference is the compile tim;pe compatibility:
I think it works, since the anser is On Sun, Oct 27, 2013 at 6:19 PM, Denis Shelomovskij <
|
No, this code works now (
|
Right, but
Right, but if that fails, we have I don't see any actual case where this code will fail... |
...lits
The root issue was an old hack which tested via a function a return by value. No postblit => no return by value.
I was able to work around the entire hack by simply using @denis-sh 's
lvalueOf
. A really neat thing aboutlvalueOf
is that it has the wholeinout
hack "integrated" into it, so the hack can be entirely removed from the calling code. No hack => no function => no problem :)The makes the final code trivial and straight forward. I'll really loving this
lvalueOf
trait.@denis-sh : You introduced the hack (AFAIK), and implemented
lvalueOf
: Do you see anything here I might have missed?If this is correct, I think it's time to do a pass on all of
range
/traits
and deploylvalueOf
...http://d.puremagic.com/issues/show_bug.cgi?id=11336