Page 1 of 1

Question: contracts - result in require?

PostPosted: Thu Mar 15, 2012 12:17 pm
by antickon
I am reading the contracts documentation and suspect a small error:
http://cobra-language.com/trac/cobra/wiki/Contracts

result - available in require and ensure, provides a fixed name for the return value of any method or property


Having result in require doesn't make any sense to me, as I understand it require is evaluated before invocation of the method.


(By the way, there's a typo in the site footer, under Wiki it says "languge topics".)

Re: Question: contracts - result in require?

PostPosted: Sat Mar 17, 2012 11:32 am
by Charles
You are correct. I have fixed the wiki page.

Wow. The footer. How did we miss that for this long? :D