[vala/switch-to-gir] girparser: Remove misleading debugging information



commit 632890a0d7ba6e1a133e08454593bd2ae0a5c7d9
Author: Luca Bruno <lethalman88 gmail com>
Date:   Wed Aug 25 13:29:27 2010 +0200

    girparser: Remove misleading debugging information

 vala/valagirparser.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/vala/valagirparser.vala b/vala/valagirparser.vala
index 576e53e..6a87ae7 100644
--- a/vala/valagirparser.vala
+++ b/vala/valagirparser.vala
@@ -1981,7 +1981,7 @@ public class Vala.GirParser : CodeVisitor {
 			var arg = metadata.args[arg_type];
 			if (!arg.used) {
 				// if metadata is used and argument is not, then it's a unexpected argument
-				Report.error (arg.source_reference, "unexpected argument in this context %s %s".printf(metadata.pattern, arg_type.to_string()));
+				Report.error (arg.source_reference, "unexpected argument in this context");
 			}
 		}
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]