Ok so I will use #
Stef
Le 23/2/16 11:09, Nicolai Hess a écrit :
Old compiler does not allowed
<return: Point>
only
<return: #Point>
And I think opal should behave the same (not fixed yet)
2016-02-23 11:01 GMT+01:00 Peter Uhnák <[email protected]
<mailto:[email protected]>>:
>Because we may have code not present and still want to load the code.
I think it's just visual, because it's still referenced as string
in the pragma itself.
For example
Person>>contact
<DCType: Contact multiplicity: #(1 '*')>
^ contact ifNil: [ contact := OrderedCollection new ]
But,
(Person>>#contact) pragmas first arguments first class == ByteSymbol
Does it fail to load otherwise?
Peter
On Tue, Feb 23, 2016 at 10:43 AM, Alexandre Bergel
<[email protected] <mailto:[email protected]>> wrote:
Just emerging from holidays. Is there an effort to have type
annotations? How these annotations are then used?
Alexandre
> On Feb 23, 2016, at 5:47 AM, stepharo <[email protected]
<mailto:[email protected]>> wrote:
>
> Hi
>
> I saw that something <return: #Point> or <return: Point>
> I do not know why but I have the impression that <return:
#Point> is better.
> Because we may have code not present and still want to load
the code.
>
> Stef
>
--
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.