From 5d518ae286d6fb81445c71923f085a00c66ed666 Mon Sep 17 00:00:00 2001 From: "pius.lee" Date: Thu, 29 Jan 2015 23:28:54 +0900 Subject: [PATCH] [Tool][Generator] don't check constructor used only in internally Change-Id: I128eb446fca7356dd93e7e1e332688e858fc8472 Signed-off-by: pius.lee --- tools/skeleton_generator/tpl/tpl_api.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/skeleton_generator/tpl/tpl_api.js b/tools/skeleton_generator/tpl/tpl_api.js index 88de9529..40881ef7 100644 --- a/tools/skeleton_generator/tpl/tpl_api.js +++ b/tools/skeleton_generator/tpl/tpl_api.js @@ -86,7 +86,9 @@ function {{iface.name}}( {%- endfor -%} {%- endif -%}) { // constructor of {{iface.name}} + {% if iface.constructor %} validator_.isConstructorCall(this, {{iface.name}}); + {% endif %} {% for attribute in iface.getTypes('Attribute') %} {% if attribute.existIn == 'ctor' %} -- 2.34.1