diff options
-rw-r--r-- | vala/valamethod.vala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vala/valamethod.vala b/vala/valamethod.vala index c37cfe7f1..3544b67e9 100644 --- a/vala/valamethod.vala +++ b/vala/valamethod.vala @@ -347,7 +347,7 @@ public class Vala.Method : Subroutine, Callable { var actual_base_type = base_method.return_type.get_actual_type (object_type, method_type_args, this); if (!return_type.equals (actual_base_type)) { - invalid_match = "Base method expected return type `%s', but `%s' was provided".printf (actual_base_type.to_qualified_string (), return_type.to_qualified_string ()); + invalid_match = "Base method expected return type `%s', but `%s' was provided".printf (actual_base_type.to_prototype_string (), return_type.to_prototype_string ()); return false; } |