Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Niels-Erik
Copy link

Update documentation according to changes made in jolie/jolie#524

@fmontesi
Copy link
Member

Looks like a negative long example slipped in (longs can't be negative).

@Niels-Erik
Copy link
Author

Where is this stated?
I've found no documentation that longs couldn't be negative,
looking in the code it uses the long type from java, which supports negative numbers,
and testing it, both release- and git-version supports/allows negative long.

Furthermore if longs cannot be negative the changes from jolie/jolie#524 adds the wrong behavior for minimum long value.

@fmontesi
Copy link
Member

Whoops my bad, I got this confused with another project where long stood for unsigned long. Please ignore my last comment.

@fmontesi fmontesi merged commit 6a30aaa into jolie:v1.13.x-git Oct 20, 2024
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.

2 participants