-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[TS/Rust/Go/Dart] Fix handling of +/-inf defaults in codegen #7588
Conversation
f5fb5ee
to
e2a4417
Compare
And I see Rust, Go, and Dart also don't handle this correctly..... |
e2a4417
to
2a9ca91
Compare
cf01985
to
6bc90f0
Compare
6bc90f0
to
ec2723a
Compare
817819a
to
1157ba8
Compare
Okay, everything is passing except for the Go test, and I must be blind because I cannot figure out what the Go test is failing on from looking at the output. |
They seem to be the same up to addresses |
1157ba8
to
1f99322
Compare
d09a4b7
to
09b57fd
Compare
+/-inf were not being handled, and so invalid typescript was being generated when a float/double had an infinite default value. NaN was being handled correctly.
09b57fd
to
dba2a5f
Compare
The Kotlin MacOS build looks just flaky, not sure how to rerun it (other than just making a dummy commit or rebasing on mater again or some similarly silly thing). |
@CasperN @dbaileychess The Kotlin Linux build seems to have flaked out this time; not quite sure what the appropriate response from me is when builds fail in this manner, or if I've just gotten particularly unlucky with flakiness to have two different Kotlin tests flake out in a row. |
I updated that runner e545361 due to this thread: gradle/wrapper-validation-action#40 |
Sorry, i mistyped the fix, rerunning the CI. |
Update flatbuffers. Relevant merge tasks: * A field got added to reflection.fbs; this had fallout in reflection_generated.h and the logger_test shas. * Resolved merge conflict in rust/flatbuffers/src/lib.rs * Reverted upstream change that made Table rust struct members private. * FlatBufferBuilder Create*Vector calls now include alignment. * nim codegen got added; needed to update to use scoped enums. Main fix that motivated this update is google/flatbuffers#7588 Change-Id: I6bbe5d56846f426fa5f2a82c4f2bc77be2b93bb0 Signed-off-by: James Kuszmaul <[email protected]>
+/-inf were not being handled, and so invalid typescript was being generated when a float/double had an infinite default value. NaN was being handled correctly. Co-authored-by: Derek Bailey <[email protected]> Co-authored-by: Casper <[email protected]>
+/-inf were not being handled, and so invalid typescript was being generated when a float/double had an infinite default value. NaN was being handled correctly. Co-authored-by: Derek Bailey <[email protected]> Co-authored-by: Casper <[email protected]>
+/-inf were not being handled, and so invalid typescript was being generated when a float/double had an infinite default value. NaN was being handled correctly.