Skip to content

Commit

Permalink
Remove Dart support for DefaultEnum
Browse files Browse the repository at this point in the history
  • Loading branch information
ambiguousname committed Jan 8, 2025
1 parent 3ae70cf commit 44fa806
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion feature_tests/dart/lib/src/DefaultEnum.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion feature_tests/src/structs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ pub mod ffi {
}

impl DefaultEnum {
#[diplomat::attr(auto, constructor)]
#[diplomat::attr(all(supports=constructors, not(dart)), constructor)]
pub fn new() -> DefaultEnum {
DefaultEnum::A
}
Expand Down

0 comments on commit 44fa806

Please sign in to comment.