[jira] Created: (BOO-1226) default(T) built-in

View: New views
5 Messages — Rating Filter:   Alert me  

[jira] Created: (BOO-1226) default(T) built-in

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

default(T) built-in
-------------------

                 Key: BOO-1226
                 URL: http://jira.codehaus.org/browse/BOO-1226
             Project: Boo
          Issue Type: New Feature
          Components: Compiler
    Affects Versions: 0.9.1
            Reporter: Cedric Vivier
            Assignee: Cedric Vivier
            Priority: Minor
             Fix For: 0.9.2


Now that we have the 'infrastructure' ready in the emitter it is straightforward to add support for a default(T) equivalent.

Is "default(T)" as in C# ok? or should we use another name?


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (BOO-1226) default(T) built-in

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/BOO-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183802#action_183802 ]

Rodrigo B. de Oliveira commented on BOO-1226:
---------------------------------------------

it should probably be a meta method in Boo.Lang.Extensions.

> default(T) built-in
> -------------------
>
>                 Key: BOO-1226
>                 URL: http://jira.codehaus.org/browse/BOO-1226
>             Project: Boo
>          Issue Type: New Feature
>          Components: Compiler
>    Affects Versions: 0.9.1
>            Reporter: Cedric Vivier
>            Assignee: Cedric Vivier
>            Priority: Minor
>             Fix For: 0.9.2
>
>
> Now that we have the 'infrastructure' ready in the emitter it is straightforward to add support for a default(T) equivalent.
> Is "default(T)" as in C# ok? or should we use another name?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (BOO-1226) default(T) built-in

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/BOO-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=183804#action_183804 ]

Cedric Vivier commented on BOO-1226:
------------------------------------

You've read my mind ;)   I was planning to do like for sizeof(T).

Should we name it default(T) then?


> default(T) built-in
> -------------------
>
>                 Key: BOO-1226
>                 URL: http://jira.codehaus.org/browse/BOO-1226
>             Project: Boo
>          Issue Type: New Feature
>          Components: Compiler
>    Affects Versions: 0.9.1
>            Reporter: Cedric Vivier
>            Assignee: Cedric Vivier
>            Priority: Minor
>             Fix For: 0.9.2
>
>
> Now that we have the 'infrastructure' ready in the emitter it is straightforward to add support for a default(T) equivalent.
> Is "default(T)" as in C# ok? or should we use another name?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Updated: (BOO-1226) default(T) built-in

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ http://jira.codehaus.org/browse/BOO-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Rodrigo B. de Oliveira updated BOO-1226:
----------------------------------------

    Fix Version/s:     (was: 0.9.2)
                   0.9.3

> default(T) built-in
> -------------------
>
>                 Key: BOO-1226
>                 URL: http://jira.codehaus.org/browse/BOO-1226
>             Project: Boo
>          Issue Type: New Feature
>          Components: Compiler
>    Affects Versions: 0.9.1
>            Reporter: Cedric Vivier
>            Assignee: Cedric Vivier
>            Priority: Minor
>             Fix For: 0.9.3
>
>
> Now that we have the 'infrastructure' ready in the emitter it is straightforward to add support for a default(T) equivalent.
> Is "default(T)" as in C# ok? or should we use another name?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email



[jira] Commented: (BOO-1226) default(T) built-in

by JIRA jira@codehaus.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ http://jira.codehaus.org/browse/BOO-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=195395#action_195395 ]

Rodrigo B. de Oliveira commented on BOO-1226:
---------------------------------------------

Yes, default(T) is good :)

> default(T) built-in
> -------------------
>
>                 Key: BOO-1226
>                 URL: http://jira.codehaus.org/browse/BOO-1226
>             Project: Boo
>          Issue Type: New Feature
>          Components: Compiler
>    Affects Versions: 0.9.1
>            Reporter: Cedric Vivier
>            Assignee: Cedric Vivier
>            Priority: Minor
>             Fix For: 0.9.3
>
>
> Now that we have the 'infrastructure' ready in the emitter it is straightforward to add support for a default(T) equivalent.
> Is "default(T)" as in C# ok? or should we use another name?

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email