projects
/
roobuilder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c1109f
)
src/JsRender/NodeToVala.vala
author
Alan
<alan@roojs.com>
Wed, 6 Jul 2022 08:28:46 +0000
(16:28 +0800)
committer
Alan
<alan@roojs.com>
Wed, 6 Jul 2022 08:28:46 +0000
(16:28 +0800)
src/JsRender/NodeToVala.vala
patch
|
blob
|
history
diff --git
a/src/JsRender/NodeToVala.vala
b/src/JsRender/NodeToVala.vala
index
a6a913d
..
64ac7ee
100644
(file)
--- a/
src/JsRender/NodeToVala.vala
+++ b/
src/JsRender/NodeToVala.vala
@@
-602,11
+602,11
@@
public class JsRender.NodeToVala : Object {
}
// default ctor with no params..
- if (default_ctor != null ) {
+ if (default_ctor != null
&& ctor != ".new"
) {
this.node.setLine(this.cur_line, "p", "* xtype");
this.addLine(this.ipad + "this.el = new " + this.node.fqn() + ctor + "( );") ;
-
+ return;
}