Skip to content

Preserve float type in DotNetTranslator#3567

Open
kirill-stepanishin wants to merge 1 commit into
apache:3.7-devfrom
kirill-stepanishin:fix-dotnet-translator-float-literal
Open

Preserve float type in DotNetTranslator#3567
kirill-stepanishin wants to merge 1 commit into
apache:3.7-devfrom
kirill-stepanishin:fix-dotnet-translator-float-literal

Conversation

@kirill-stepanishin

Copy link
Copy Markdown
Contributor

DotNetTranslator emitted a Java Float as a bare 0.5, which C# reads as a double. Now it emits 0.5f so the type round-trips.

This re-enables the g_injectXpoint5fX .NET Gherkin scenario, previously ignored (FloatLiteralTypeNotPreserved).

Assisted-by: Claude Code:claude-opus-4-8
@codecov-commenter

codecov-commenter commented Jul 24, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 75.51%. Comparing base (4722890) to head (8e56bc0).
⚠️ Report is 41 commits behind head on 3.7-dev.

Additional details and impacted files
@@              Coverage Diff              @@
##             3.7-dev    #3567      +/-   ##
=============================================
+ Coverage      75.49%   75.51%   +0.01%     
- Complexity     13161    13180      +19     
=============================================
  Files           1092     1093       +1     
  Lines          67208    67256      +48     
  Branches        7391     7398       +7     
=============================================
+ Hits           50742    50791      +49     
- Misses         13837    13843       +6     
+ Partials        2629     2622       -7     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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