Missing @require dependencies

11 views
Skip to first unread message

pcxunl...@gmail.com

unread,
Sep 13, 2014, 5:35:50 PM9/13/14
to strati...@googlegroups.com
Since I'm using the sjs:bundle module a lot, I tend to come across modules that are missing @requires. I'll post them in this thread as I come across them.

For starters, the "mho:surface" module is missing an @require for "sjs:sys". Personally, I think it would be great if the hostenv check could be done at compile-time rather than run-time, but that doesn't jive well with JS or SJS.

Tim Cuthbertson

unread,
Sep 14, 2014, 9:42:11 PM9/14/14
to strati...@googlegroups.com, pcxunl...@gmail.com


On Sunday, September 14, 2014 7:35:50 AM UTC+10, pcxunl...@gmail.com wrote:
Since I'm using the sjs:bundle module a lot, I tend to come across modules that are missing @requires. I'll post them in this thread as I come across them.

For starters, the "mho:surface" module is missing an @require for "sjs:sys". Personally, I think it would be great if the hostenv check could be done at compile-time rather than run-time, but that doesn't jive well with JS or SJS.

Thanks for reporting, fixed :)

(that one was actually a bug in the dependency parser, since sjs:sys is required unconditionally by mho:surface)

Cheers,
 - Tim.
Reply all
Reply to author
Forward
0 new messages