Skip to content

Commit e7d898d

Browse files
committed
Fix for prefer_final_locals.
1 parent 98ddc49 commit e7d898d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source_gen/lib/src/generator_for_annotation.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ abstract class GeneratorForAnnotation<T> extends Generator {
7373
typeChecker,
7474
throwOnUnresolved: throwOnUnresolved,
7575
)) {
76-
var generatedValue = generateForAnnotatedElement(
76+
final generatedValue = generateForAnnotatedElement(
7777
annotatedElement.element,
7878
annotatedElement.annotation,
7979
buildStep,

0 commit comments

Comments
 (0)