-
-
Notifications
You must be signed in to change notification settings - Fork 608
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
[TEST ONLY] Enable preview=in
by default
#11632
base: master
Are you sure you want to change the base?
Conversation
I adapted Vibe.d (vibe-d/vibe.d#2472) so when all is merged and released, it should go green on Buildkite and allow me to adapt other projects. |
@wilzbach : There seems to be a bug with |
Well, the |
Well, this breaks a lot of projects on BuildKite (and even more unchecked projects) - mostly due to the "redundant" I think it would be better to change the |
There is two reasons why it's not a deprecation:
It does cause one issue: If you have an overload with an Note that this PR isn't meant to be merged anytime soon. I just want to get Buildkite green, and hope that'd be a good indication that people can actually use the switch. |
Agreed but that's an implementation detail(?) (which you disliked IIRC?)
That's true but I would also expect that a lot more people would use
#8429 will detect conflicting function declarations but the mangling for such functions is currently not identical. Changng the
Noted, just thinking about how to make the transition to |
Well it does affect tools that do parsing only. And it was made to be consistent with the other STCs.
On the other hand, I doubt there will be any library supporting both
People don't override On another note, if you take a look at Buildkite now, it's much greener. |
Fair enough.
Your work in apdapting those libraries is much appreciated. I suppose our difference lies in how we estimate the probability that other libraries will adapt their code as well (which are not covered by BuildKite).
Yeah, that was bad example. For reference, a type with postblit:
That's nice. |
527eb70
to
8fa17e9
Compare
8fa17e9
to
866a2da
Compare
Current status: Need tags
Left to do
|
@Geod24 Sure, but I need some context. I haven't been following the |
Think I found it: DMD 2.094.0 Beta change log: -preview=in. Looks easy enough. Simply change the |
@jondegenhardt : Indeed,
It could work if you are really to take the hit on a lack of |
Thanks for the confirmation. Making the change. A minor note: I'm not planning on adding a version with |
I think all switches but This PR already went much further than I anticipated (it's not going to be merged for a couple of years anyways), and in that time, I'm sure there will be some regressions. And as long as druntime / Phobos don't test with the switch enabled, it doesn't make sense for projects to do so. |
This is probably the right litmus test. I did pose this question in the #CI channel on slack to see if anyone else has thoughts. |
866a2da
to
19c41c5
Compare
19c41c5
to
59b67a2
Compare
59b67a2
to
7144023
Compare
f338141
to
7f58b9d
Compare
7f58b9d
to
d640dd5
Compare
90c3005
to
a3c1968
Compare
Looks like there's a regression in CTFE |
fa9447e
to
10bdeee
Compare
At the moment, in dsymbolsem.d:1026, there is the following comment: ``` /* If a struct is all zeros, as a special case * set its initializer to the integer 0. * In AssignExp::toElem(), we check for this and issue * a memset() to initialize the struct. * Must do same check in interpreter. */ ``` Turns out, the 'Must do same check in interpreter.' part was missing.
10bdeee
to
87b1aff
Compare
Don't mind me, just (ab)using Buildkite.