From 74d9c53e6546ae87b94bbd6459434922e5c1d549 Mon Sep 17 00:00:00 2001 From: fzyzcjy Date: Fri, 7 Jun 2024 18:13:31 +0800 Subject: [PATCH] chore: empty --- frb_codegen/src/library/codegen/parser/mir/parser/mod.rs | 3 +++ .../src/library/codegen/parser/mir/parser/trait_impl_enum.rs | 3 +++ 2 files changed, 6 insertions(+) create mode 100644 frb_codegen/src/library/codegen/parser/mir/parser/trait_impl_enum.rs diff --git a/frb_codegen/src/library/codegen/parser/mir/parser/mod.rs b/frb_codegen/src/library/codegen/parser/mir/parser/mod.rs index 70bad96a92..43f3d8eabb 100644 --- a/frb_codegen/src/library/codegen/parser/mir/parser/mod.rs +++ b/frb_codegen/src/library/codegen/parser/mir/parser/mod.rs @@ -3,6 +3,7 @@ pub(crate) mod function; pub(crate) mod misc; pub(crate) mod trait_impl; pub(crate) mod ty; +mod trait_impl_enum; use crate::codegen::ir::hir::flat::pack::HirFlatPack; use crate::codegen::ir::mir::pack::MirPack; @@ -36,6 +37,8 @@ pub(crate) fn parse( config.default_rust_opaque_codec, )?; + trait_impl_enum::generate(); + let (struct_pool, enum_pool, dart_code_of_type) = type_parser.consume(); let mut ans = MirPack { diff --git a/frb_codegen/src/library/codegen/parser/mir/parser/trait_impl_enum.rs b/frb_codegen/src/library/codegen/parser/mir/parser/trait_impl_enum.rs new file mode 100644 index 0000000000..1eea26cc44 --- /dev/null +++ b/frb_codegen/src/library/codegen/parser/mir/parser/trait_impl_enum.rs @@ -0,0 +1,3 @@ +pub(crate) fn generate() { + todo!() +}