summaryrefslogtreecommitdiff
path: root/lib/AspectC
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AspectC')
-rw-r--r--lib/AspectC/Repo.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/AspectC/Repo.pm b/lib/AspectC/Repo.pm
index 35bffbe..2ddccfd 100644
--- a/lib/AspectC/Repo.pm
+++ b/lib/AspectC/Repo.pm
@@ -129,7 +129,8 @@ sub parse_xml {
split( qr{ \s+ }x, $attributes )
];
}
- $class->{function}{$name} = $fun;
+ my $hash_key = sprintf( '%s(%s)', $name, join( q{, }, @args ) );
+ $class->{function}{$hash_key} = $fun;
}
$self->{class}{$class_name} = $class;
}