Skip to content
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

Long Literal: Add long literal support #71

Merged
merged 4 commits into from
Dec 28, 2023
Merged

Long Literal: Add long literal support #71

merged 4 commits into from
Dec 28, 2023

Conversation

jknack
Copy link
Collaborator

@jknack jknack commented Dec 28, 2023

  • Encode/decode long values. Support trailing 'L'
  • Implement LongSelfie toBe/toBe_TODO
  • Add unit/integrationt test for long literal

jknack and others added 4 commits December 28, 2023 10:27
- reduce the number of StringBuilder instances created during encode of long numbers to 1
- Encode/decode long values. Support trailing 'L'
- Implement LongSelfie toBe/toBe_TODO
- Add unit/integrationt test for long literal
@nedtwigg nedtwigg mentioned this pull request Dec 28, 2023
10 tasks
@nedtwigg
Copy link
Member

Huzzah! I made a small tweak to add L to the long constants.

Next up: multiline constants in Kotlin, then multiline constants in Java 15. If you prefer to do them both at the same time that's fine too. I think there are some subtle differences:

https://kotlinlang.org/docs/java-to-kotlin-idioms-strings.html#use-multiline-strings

@nedtwigg nedtwigg merged commit aa30ee2 into main Dec 28, 2023
6 checks passed
@nedtwigg nedtwigg deleted the feat/long-literal branch December 28, 2023 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants