Skip to content

add testing for status quo of Byte and Short toHexString#8383

Merged
lrytz merged 2 commits intoscala:2.13.xfrom
som-snytt:issue/10216-toXString
Mar 17, 2021
Merged

add testing for status quo of Byte and Short toHexString#8383
lrytz merged 2 commits intoscala:2.13.xfrom
som-snytt:issue/10216-toXString

Conversation

@som-snytt
Copy link
Contributor

@som-snytt som-snytt commented Aug 29, 2019

Avoid sign extension in conversion to int for
purposes of enrichment.

Similarly for toOctalString and toBinaryString.

references scala/bug#10216

@scala-jenkins scala-jenkins added this to the 2.13.2 milestone Aug 29, 2019
@som-snytt som-snytt modified the milestones: 2.13.2, 2.14.0-M1 Aug 29, 2019
@som-snytt
Copy link
Contributor Author

Mima rose to her feet in the overheated courtroom and though her throat had gone dry managed to say in a voice that sounded very far away to her own ear but which seized the amazement of everyone in attendance:

extension method toHexString$extension(Short)java.lang.String in object scala.runtime.RichShort does not have a correspondent in other version!

@som-snytt som-snytt force-pushed the issue/10216-toXString branch from c373ef2 to a94fb4f Compare September 26, 2019 08:18
@som-snytt
Copy link
Contributor Author

Requires conditional compilation!

@diesalbla diesalbla added the library:base Changes to the base library, i.e. Function Tuples Try label Oct 13, 2019
@som-snytt
Copy link
Contributor Author

I'll reopen if 2.14 or 3.2, whichever comes first.

@som-snytt som-snytt closed this Jan 10, 2020
@som-snytt
Copy link
Contributor Author

See scala/scala-library-next#49 which may or may not supersede this.

@som-snytt
Copy link
Contributor Author

Reopening this for improved test.

@som-snytt som-snytt reopened this Mar 16, 2021
Document sign extension in conversion to int for
purposes of enrichment.

Similarly for toOctalString and toBinaryString.
@som-snytt som-snytt force-pushed the issue/10216-toXString branch from a94fb4f to f81e1a9 Compare March 16, 2021 05:41
@SethTisue SethTisue modified the milestones: 2.14.0-M1, 2.13.6 Mar 16, 2021
@SethTisue SethTisue changed the title Byte and Short get unsigned toHexString add testing for status quo of Byte and Short toHexString Mar 16, 2021
@SethTisue SethTisue added internal not resulting in user-visible changes (build changes, tests, internal cleanups) and removed library:base Changes to the base library, i.e. Function Tuples Try labels Mar 16, 2021
@som-snytt
Copy link
Contributor Author

I had changed the title to "Byte and Short stuck with sign-extended toHexString", but I lost internet around 3 a.m. thx comcast.

@lrytz lrytz merged commit 1b98feb into scala:2.13.x Mar 17, 2021
@som-snytt som-snytt deleted the issue/10216-toXString branch March 17, 2021 11:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal not resulting in user-visible changes (build changes, tests, internal cleanups)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants