This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new ea68b818f chore(dart): fix typos (#2428)
ea68b818f is described below
commit ea68b818fab2ccf51523100501949f9e221f8aee
Author: co63oc <[email protected]>
AuthorDate: Tue Jul 22 13:06:43 2025 +0800
chore(dart): fix typos (#2428)
<!--
**Thanks for contributing to Fory.**
**If this is your first time opening a PR on fory, you can refer to
[CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).**
Contribution Checklist
- The **Apache Fory (incubating)** community has restrictions on the
naming of pr titles. You can also find instructions in
[CONTRIBUTING.md](https://github.com/apache/fory/blob/main/CONTRIBUTING.md).
- Fory has a strong focus on performance. If the PR you submit will have
an impact on performance, please benchmark it first and provide the
benchmark result here.
-->
## What does this PR do?
Fix typos contructor_params constructor_params
<!-- Describe the purpose of this PR. -->
## Related issues
<!--
Is there any related issue? Please attach here.
- #xxxx0
- #xxxx1
- #xxxx2
-->
## Does this PR introduce any user-facing change?
<!--
If any user-facing interface changes, please [open an
issue](https://github.com/apache/fory/issues/new/choose) describing the
need to do so and update the document if necessary.
-->
- [ ] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
<!--
When the PR has an impact on performance (if you don't know whether the
PR will have an impact on performance, you can submit the PR first, and
if it will have impact on performance, the code reviewer will explain
it), be sure to attach a benchmark data here.
-->
---
dart/packages/fory/lib/src/codegen/analyze/analysis_cache.dart | 2 +-
.../lib/src/codegen/analyze/impl/constructor/constructor_analyzer.dart | 2 +-
.../fory/lib/src/codegen/analyze/impl/field/access_info_analyzer.dart | 2 +-
.../codegen/entity/{contructor_params.dart => constructor_params.dart} | 0
dart/packages/fory/lib/src/codegen/meta/impl/constructor_info.dart | 2 +-
dart/packages/fory/lib/src/codegen/meta/impl/constructor_spec_gen.dart | 2 +-
6 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dart/packages/fory/lib/src/codegen/analyze/analysis_cache.dart
b/dart/packages/fory/lib/src/codegen/analyze/analysis_cache.dart
index 8e623da2c..22aa1cd92 100644
--- a/dart/packages/fory/lib/src/codegen/analyze/analysis_cache.dart
+++ b/dart/packages/fory/lib/src/codegen/analyze/analysis_cache.dart
@@ -18,7 +18,7 @@
*/
import 'dart:collection';
-import 'package:fory/src/codegen/entity/contructor_params.dart';
+import 'package:fory/src/codegen/entity/constructor_params.dart';
import 'package:fory/src/codegen/entity/fields_cache_unit.dart';
import 'package:fory/src/codegen/meta/impl/type_immutable.dart';
import 'package:fory/src/codegen/meta/lib_import_pack.dart';
diff --git
a/dart/packages/fory/lib/src/codegen/analyze/impl/constructor/constructor_analyzer.dart
b/dart/packages/fory/lib/src/codegen/analyze/impl/constructor/constructor_analyzer.dart
index a03a809aa..e378a7463 100644
---
a/dart/packages/fory/lib/src/codegen/analyze/impl/constructor/constructor_analyzer.dart
+++
b/dart/packages/fory/lib/src/codegen/analyze/impl/constructor/constructor_analyzer.dart
@@ -27,7 +27,7 @@ import
'package:fory/src/codegen/analyze/analysis_type_identifier.dart';
import
'package:fory/src/codegen/analyze/annotation/location_level_ensure.dart';
import 'package:fory/src/codegen/const/location_level.dart';
import 'package:fory/src/codegen/entity/constructor_param.dart';
-import 'package:fory/src/codegen/entity/contructor_params.dart';
+import 'package:fory/src/codegen/entity/constructor_params.dart';
import 'package:fory/src/codegen/entity/location_mark.dart';
import
'package:fory/src/codegen/exception/constraint_violation_exception.dart' show
CircularIncapableRisk, InformalConstructorParamException,
NoUsableConstructorException;
import 'package:fory/src/codegen/meta/impl/constructor_info.dart' show
ConstructorInfo;
diff --git
a/dart/packages/fory/lib/src/codegen/analyze/impl/field/access_info_analyzer.dart
b/dart/packages/fory/lib/src/codegen/analyze/impl/field/access_info_analyzer.dart
index dd71064c5..ed24ae908 100644
---
a/dart/packages/fory/lib/src/codegen/analyze/impl/field/access_info_analyzer.dart
+++
b/dart/packages/fory/lib/src/codegen/analyze/impl/field/access_info_analyzer.dart
@@ -21,7 +21,7 @@ import 'dart:collection';
import 'package:fory/src/codegen/analyze/analyzer.dart';
import
'package:fory/src/codegen/analyze/annotation/location_level_ensure.dart';
import 'package:fory/src/codegen/const/location_level.dart';
-import 'package:fory/src/codegen/entity/contructor_params.dart';
+import 'package:fory/src/codegen/entity/constructor_params.dart';
import 'package:fory/src/codegen/entity/location_mark.dart';
import 'package:fory/src/codegen/exception/field_exception.dart' show
FieldAccessErrorType, FieldAccessException;
import 'package:fory/src/codegen/meta/impl/field_spec_immutable.dart';
diff --git a/dart/packages/fory/lib/src/codegen/entity/contructor_params.dart
b/dart/packages/fory/lib/src/codegen/entity/constructor_params.dart
similarity index 100%
rename from dart/packages/fory/lib/src/codegen/entity/contructor_params.dart
rename to dart/packages/fory/lib/src/codegen/entity/constructor_params.dart
diff --git a/dart/packages/fory/lib/src/codegen/meta/impl/constructor_info.dart
b/dart/packages/fory/lib/src/codegen/meta/impl/constructor_info.dart
index 91c4461d9..bf0aaf2b1 100644
--- a/dart/packages/fory/lib/src/codegen/meta/impl/constructor_info.dart
+++ b/dart/packages/fory/lib/src/codegen/meta/impl/constructor_info.dart
@@ -17,7 +17,7 @@
* under the License.
*/
-import 'package:fory/src/codegen/entity/contructor_params.dart';
+import 'package:fory/src/codegen/entity/constructor_params.dart';
class ConstructorInfo {
final bool flexibleOrUnnamedCons;
diff --git
a/dart/packages/fory/lib/src/codegen/meta/impl/constructor_spec_gen.dart
b/dart/packages/fory/lib/src/codegen/meta/impl/constructor_spec_gen.dart
index d9bc94d1d..5cb8a4c95 100644
--- a/dart/packages/fory/lib/src/codegen/meta/impl/constructor_spec_gen.dart
+++ b/dart/packages/fory/lib/src/codegen/meta/impl/constructor_spec_gen.dart
@@ -18,7 +18,7 @@
*/
import 'package:fory/src/codegen/config/codegen_style.dart';
-import 'package:fory/src/codegen/entity/contructor_params.dart';
+import 'package:fory/src/codegen/entity/constructor_params.dart';
import 'package:fory/src/codegen/meta/gen_export.dart';
import 'package:fory/src/codegen/meta/impl/constructor_info.dart';
import 'package:fory/src/codegen/meta/impl/field_spec_immutable.dart';
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]