Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upTests failing only on nightly branch #32
Comments
This comment has been minimized.
This comment has been minimized.
|
hm strange. they work for me. will look. |
This comment has been minimized.
This comment has been minimized.
|
ah, can reproduce. strange. |
This comment has been minimized.
This comment has been minimized.
|
On nightly you can successfully parse "+1" as an int, is the reason. |
bwo
closed this
Oct 10, 2015
This comment has been minimized.
This comment has been minimized.
|
derp actually I'm super tired and the "fix" was to delete the offending test. But really that changes the semantics depending on beta/nightly, which is stupid. I think this ought to be raised as an issue w/ the release, also (but that's independent). |
bwo
reopened this
Oct 10, 2015
This comment has been minimized.
This comment has been minimized.
rkruppe
commented
Oct 14, 2015
|
I know nothing about this project, I'm one of the people responsible for the change in nightly. Could someone explain the exact cause and extent of this issue to me? From skimming the code, it seems that previously And what action would you like upstream to take? The change has landed in 1.5 nightly, it will be in stable releases in about 8 weeks. This is an unfortunate side effect of the trains model, but it's the same for all bug fixes and all other changes. Is this temporary difference between nightly/beta/stable the problem, or is it a problem for you that Aside: Won't the nearby test |
This comment has been minimized.
This comment has been minimized.
|
Yes, it seems it will! I think the simplest thing is just not to allow a leading |
This comment has been minimized.
This comment has been minimized.
rkruppe
commented
Oct 14, 2015
|
Alternatively, you could not allow leading |
This comment has been minimized.
This comment has been minimized.
|
This is something that we can certainly fix on our end. However, waiting for a few months for everyone to be on 1.5-stable is not an option as far as stability goes. I'd really like for this library to work on all rust 1.x compilers; (after all, that was the rust-1.0 promise). |
This comment has been minimized.
This comment has been minimized.
rkruppe
commented
Oct 14, 2015
|
I appreciate that, but there is no way to back-port this change into all previously released versions and patch the existing installations. So you are effectively asking for this change to be reverted (if it's to be "fixed" on the Rust side, that is). This is certainly a valid position to take, I just want to make it explicit.
To nitpick: The promise was backwards compatibility, that is, code that works on 1.x continues to work in future releases. Certainly this promise was broken in this case (and in several others; the term used was "hassle-free upgrades" IIRC). However, it's perfectly okay for code to requires, say, Rust 1.5 or later because it depends on a feature or bugfix introduced in 1.5. Whether you consider this change such a feature/bugfix is up to you, I don't blame anyone who doesn't. |
This comment has been minimized.
This comment has been minimized.
|
I think that's a pretty accurate summary. I won't actually request that the patch be reverted because it can be fixed pretty easily on our end (and arguably force us to handle things better than they were in the past). We are lucky that there are few users of rust and no legacy code. P.S.Before I knew what the breaking change is, I checked bitrust and it was entirely useless. Most of the titles for the breaking changes are things like " Auto merge of #25387 - eddyb:syn-file-loader, r=nikomatsakis". I think we need better infrastructure around educating developers about breaking changes. Even a simple table with
would be miles above what we have now. |
TyOverby commentedOct 9, 2015
@bwo
Something in rust changed that breaks our tokenization tests. Could you take a look at it?