Skip to content

[ocaml-gen] rename macros and revert multi-declaration of custom types#195

Merged
mimoo merged 4 commits intomasterfrom
mimoo/ocaml_custom2
Nov 1, 2021
Merged

[ocaml-gen] rename macros and revert multi-declaration of custom types#195
mimoo merged 4 commits intomasterfrom
mimoo/ocaml_custom2

Conversation

@mimoo
Copy link
Copy Markdown
Contributor

@mimoo mimoo commented Oct 21, 2021

see #172 (comment)

tl;dr is that this is that declaring the same custom type multiple times is error-prone. I'm investigating another solution.

as for name changes:

  • OcamlGen -> ocaml_gen::Struct
  • ocaml_gen -> ocaml_gen::func
  • OCamlCustomType -> ocaml_gen::CustomType
  • OcamlEnum -> ocaml_gen::Enum

@mimoo mimoo requested review from jspada and mrmr1993 October 21, 2021 03:43
@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented Oct 21, 2021

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.93%. Comparing base (f42ead3) to head (dcf925e).
⚠️ Report is 9886 commits behind head on master.

Files with missing lines Patch % Lines
ocaml/ocaml-gen/derive/src/lib.rs 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #195      +/-   ##
==========================================
+ Coverage   88.91%   88.93%   +0.02%     
==========================================
  Files          74       74              
  Lines       18263    18258       -5     
==========================================
  Hits        16238    16238              
+ Misses       2025     2020       -5     

☔ View full report in Codecov by Sentry.
📢 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.

row: CurrOrNext::Curr,
column,
};
let chacha_pattern = (0..4)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This diff looks very similar to the one from PR193

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is because of reformating issues :/ which will be fixed in one of the PR: #193

@mimoo mimoo force-pushed the mimoo/ocaml_custom2 branch 4 times, most recently from 2875e51 to 234692b Compare October 29, 2021 18:24
@mimoo
Copy link
Copy Markdown
Contributor Author

mimoo commented Oct 29, 2021

rebased

@mimoo mimoo force-pushed the mimoo/ocaml_custom2 branch from 586be3c to f32e5c2 Compare October 29, 2021 20:59
@mimoo
Copy link
Copy Markdown
Contributor Author

mimoo commented Oct 29, 2021

rebased

@mimoo mimoo force-pushed the mimoo/ocaml_custom2 branch from f32e5c2 to 40b8f05 Compare October 29, 2021 21:16
@mimoo mimoo merged commit 1d4b454 into master Nov 1, 2021
@mimoo mimoo deleted the mimoo/ocaml_custom2 branch November 1, 2021 21:24
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.

4 participants