New warnings

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

New warnings

Postby Charles » 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 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.
Posts: 2514
Location: Los Angeles, CA

Return to Discussion

Who is online

Users browsing this forum: No registered users and 9 guests