It appears to me that the example in http://fantom.org/doc/docLang/Methods.html#once uses a * as the storage operator instead of a &:
*
&
get { if (*fullName == null) *fullName = "$firstName $lastName" return *fullName }
Is this correct?
Thats a typo - its been fixed in tip. Typically we update the online docs when we roll a new build.
Login or Signup to reply.
Henri Wed 27 Oct 2010
It appears to me that the example in http://fantom.org/doc/docLang/Methods.html#once uses a
*
as the storage operator instead of a&
:Is this correct?
andy Wed 27 Oct 2010
Thats a typo - its been fixed in tip. Typically we update the online docs when we roll a new build.