summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-10-12 13:25:19 +0100
committerVincent Sanders <vince@kyllikki.org>2015-10-12 13:25:19 +0100
commitb13a9384d961d1895d9e8527596048386a90e1ea (patch)
tree6fa420b3f4d8f5b7af61256608efa71f24a3d92f
parentc9f6b7e3df34995279231dd5a02d1cd44ec8f869 (diff)
downloadnsgenbind-b13a9384d961d1895d9e8527596048386a90e1ea.tar.gz
nsgenbind-b13a9384d961d1895d9e8527596048386a90e1ea.tar.bz2
show the property type on unimplemented getter warning
-rw-r--r--src/duk-libdom-interface.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/duk-libdom-interface.c b/src/duk-libdom-interface.c
index ba3fcc4..66834b3 100644
--- a/src/duk-libdom-interface.c
+++ b/src/duk-libdom-interface.c
@@ -1289,8 +1289,10 @@ output_attribute_getter(FILE* outf,
}
WARN(WARNING_UNIMPLEMENTED,
- "Unimplemented: getter %s::%s();",
- interfacee->name, atributee->name);
+ "Unimplemented: getter %s::%s(%s);",
+ interfacee->name,
+ atributee->name,
+ webidl_type_to_str(atributee->base_type));
if (options->dbglog) {
fprintf(outf, "\tLOG(\"Unimplemented\");\n" );