Skip to content

Commit bc95538

Browse files
committed
fix(analyzer): use called class name instead of declaring class for static method closure types
Signed-off-by: azjezz <azjezz@protonmail.com>
1 parent 11293f7 commit bc95538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/analyzer/src/expression/partial_application/static_method_partial_application.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ impl<'ast, 'arena> Analyzable<'ast, 'arena> for StaticMethodPartialApplication<'
4545
);
4646

4747
identifiers.push(FunctionLikeIdentifier::Method(
48-
*resolved_method.method_identifier.get_class_name(),
48+
resolved_method.classname,
4949
*resolved_method.method_identifier.get_method_name(),
5050
));
5151
}

0 commit comments

Comments
 (0)