New warnings
Posted: Mon Apr 06, 2009 12:32 am
-- As mentioned some time ago, and shown in the samples and how-to's, the correct way to do an initializer/constructor is with "cue init". See http://cobra-language.com/how-to/DeclareInits/ for example. In svn revision 2000, the old "def init" will now give a warning.
-- Per a suggestion by Kurper in ticket:124, anonymous methods and lambdas with no arguments will give a warning when declared with empty parentheses, as in do(). This is consistent with that same warning on methods and initializers.
-- Per a suggestion by Kurper in ticket:124, anonymous methods and lambdas with no arguments will give a warning when declared with empty parentheses, as in do(). This is consistent with that same warning on methods and initializers.