summaryrefslogtreecommitdiff
path: root/vala/valalocalvariable.vala
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2010-07-03 09:28:33 +0200
committerJürg Billeter <j@bitron.ch>2010-07-03 12:47:58 +0200
commitac780b92d6b561f422e7935a8a9735464dc1540a (patch)
treeafa3af4b327d86c764c516be08380e353e3afc61 /vala/valalocalvariable.vala
parenta222e923b82fc00fcac1a66ca1ebab41d7165bce (diff)
downloadvala-ac780b92d6b561f422e7935a8a9735464dc1540a.tar.gz
Prepare support for generic delegates
Diffstat (limited to 'vala/valalocalvariable.vala')
-rw-r--r--vala/valalocalvariable.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valalocalvariable.vala b/vala/valalocalvariable.vala
index f0450340a..f252ceeac 100644
--- a/vala/valalocalvariable.vala
+++ b/vala/valalocalvariable.vala
@@ -168,7 +168,7 @@ public class Vala.LocalVariable : Symbol {
var cb = dt.delegate_symbol;
/* check whether method matches callback type */
- if (!cb.matches_method (m)) {
+ if (!cb.matches_method (m, dt)) {
error = true;
Report.error (source_reference, "declaration of method `%s' doesn't match declaration of callback `%s'".printf (m.get_full_name (), cb.get_full_name ()));
return false;