Open olyerickson opened 8 years ago
Bug found --- missing @as --- but the question stands...
Since @as is optional, why is there ug when you're missing @as? Did you have multiple names, such as "@in foo1 foo2" and meant to say "@in foo1 @as foo2" ? Note that "@in foo bar baz" might be an allowed shortcut in the future (for 3 @in statements..)
On Tue, Dec 15, 2015 at 12:40 PM, John S. Erickson, Ph.D. < notifications@github.com> wrote:
Bug found --- missing @as https://github.com/as --- but the question stands...
— Reply to this email directly or view it on GitHub https://github.com/yesworkflow-org/yw-prototypes/issues/33#issuecomment-164850818 .
The exception you reported occurs when a YW keyword is not followed by an argument, e.g. a comment containing only the following triggers this exception and the long stack trace:
@begin
I just pushed a commit to the repo that makes YW produce a more informative message. With this change the above erroneous YW annotation produces a result such as the following at the command line:
$ yw graph
******************* YESWORKFLOW MARKUP ERRORS **************************
No argument provided to @begin keyword on line 9
------------------------------------------------------------------------
$
Is this consistent with the bug you found in your YW markup?
I'm seeing the following java error:
I suspect I've got a bad @something somewhere, but can't spot it...
Thanks!