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

Support instance and static methods for enums without fields #1879

Merged
merged 13 commits into from Apr 15, 2024
Merged

Conversation

fzyzcjy
Copy link
Owner

@fzyzcjy fzyzcjy commented Apr 12, 2024

Changes

Close #1870

Checklist

  • An issue to be fixed by this PR is listed above.
  • New tests are added to ensure new features are working. Please refer to this page to see how to add a test.
  • ./frb_internal precommit --mode slow (or fast) is run (it internal runs code generator, does auto formatting, etc).
  • If this PR adds/changes features, documentations (in the ./website folder) are updated.
  • CI is passing. Please refer to this page to see how to solve a failed CI.

Remark for PR creator

  • ./frb_internal --help shows utilities for development.
  • If fzyzcjy does not reply for a few days, maybe he just did not see it, so please ping him.

Copy link

codecov bot commented Apr 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 99.27%. Comparing base (c098168) to head (f7c3b3b).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1879   +/-   ##
=======================================
  Coverage   99.27%   99.27%           
=======================================
  Files         365      365           
  Lines       15472    15484   +12     
=======================================
+ Hits        15360    15372   +12     
  Misses        112      112           

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

# Conflicts:
#	frb_codegen/src/library/codegen/generator/api_dart/spec_generator/class/ty/enumeration_simple.rs
# Conflicts:
#	frb_example/pure_dart_pde/lib/src/rust/frb_generated.dart
#	frb_example/pure_dart_pde/rust/src/frb_generated.rs
# Conflicts:
#	frb_example/pure_dart/lib/src/rust/frb_generated.dart
#	frb_example/pure_dart/lib/src/rust/frb_generated.io.dart
#	frb_example/pure_dart/lib/src/rust/frb_generated.web.dart
#	frb_example/pure_dart/rust/src/frb_generated.rs
#	frb_example/pure_dart_pde/lib/src/rust/frb_generated.dart
#	frb_example/pure_dart_pde/lib/src/rust/frb_generated.io.dart
#	frb_example/pure_dart_pde/lib/src/rust/frb_generated.web.dart
#	frb_example/pure_dart_pde/rust/src/frb_generated.rs
@fzyzcjy fzyzcjy merged commit d6fc16d into master Apr 15, 2024
96 of 98 checks passed
@fzyzcjy fzyzcjy deleted the feat/1870 branch April 15, 2024 00:05
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.

impl ignored for enums
1 participant