[TIMOB-534] Javascript stops execution when using @var doc-comment
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Trivial |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2011-04-15T02:31:18.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Backlog |
Components | iOS |
Labels | doctags, javascript, parser |
Reporter | Christian Döring |
Assignee | Reggie Seagraves |
Created | 2011-04-15T02:31:16.000+0000 |
Updated | 2017-03-02T18:40:19.000+0000 |
Description
Hi there,
while working with Titanium Mobile 0.8.2 (OSX 10.5.8, iPhone-SDK 3.1.2) i could use these doc-coments (@var/@return etc) without problems, but suddenly the execution of my code stopped without any message whatsoever. It turns out the problem was a doc-comment in a prototype. A snippet to illustrate:
function XXX()
{
/* * @var date / this.thing = null;
}
does fine, while
function XXX()
{
/* * @var Date / this.thing = null;
}
does not.
I'm not sure if i'm using the "correct" way to anotate my code, but since it's inside a comment-block i tend to say it's an error. Correct me if i'm wrong, otherwise i hope its helpful to you and others.
narg :),
May not still be valid. Will have to R&D.
Quick test proves that my hunch was correct. Likely invalidated in the switch to 0.9.
Closing as invalid.