Skip to content

Commit 392f4d3

Browse files
fix(spark_generator): improve method body extraction for components
- Correctly skip method parameter lists (including named parameters and default values) to prevent premature body detection. - Make getMethodSource visible for testing and add comprehensive unit tests for various method signatures (named parameters, nested braces, arrow functions). - Bump version to 1.0.0-alpha.15 and update CHANGELOG.
1 parent 7d31bd5 commit 392f4d3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/spark_generator/pubspec.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ environment:
1111
sdk: ^3.10.0
1212

1313
dependencies:
14+
meta: ^1.11.0
1415
build: ^4.0.4
1516
source_gen: ^4.1.2
1617
analyzer: ^10.0.1

0 commit comments

Comments
 (0)