Forums

Question: contracts - result in require?

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

Question: contracts - result in require?

Postby antickon » Thu Mar 15, 2012 12:17 pm

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".)
antickon
 
Posts: 1

Re: Question: contracts - result in require?

Postby Charles » Sat Mar 17, 2012 11:32 am

You are correct. I have fixed the wiki page.

Wow. The footer. How did we miss that for this long? :D
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 58 guests