src/jsdoc/Symbol.vala
authorAlan Knowles <alan@roojs.com>
Fri, 28 Apr 2017 08:53:01 +0000 (16:53 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 28 Apr 2017 08:53:01 +0000 (16:53 +0800)
src/jsdoc/Symbol.vala

index 07067de..7f7f2c9 100644 (file)
@@ -198,7 +198,7 @@ namespace JSDOC {
             this.alias = this.getName();
             this.setParams(params);
             this.isa = (isa == "VIRTUAL")? "OBJECT":isa;
-            this.comment = comment || new DocComment("");
+            this.comment =  new DocComment(comment);
             
             this.srcFile = DocParser.currentSourceFile;