Thread overview
[Issue 10109] New: add -transition compiler switch to aid in dealing with breaking changes
May 17, 2013
Walter Bright
May 17, 2013
Walter Bright
May 17, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10109

           Summary: add -transition compiler switch to aid in dealing with
                    breaking changes
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: DMD
        AssignedTo: nobody@puremagic.com
        ReportedBy: bugzilla@digitalmars.com


--- Comment #0 from Walter Bright <bugzilla@digitalmars.com> 2013-05-17 13:12:37 PDT ---
-transition=id show additional info about language change identified by 'id'

-transition=?  list all language changes

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 17, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10109


Walter Bright <bugzilla@digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


--- Comment #1 from Walter Bright <bugzilla@digitalmars.com> 2013-05-17 13:12:59 PDT ---
https://github.com/D-Programming-Language/dmd/pull/2039

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 17, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10109


bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc


--- Comment #2 from bearophile_hugs@eml.cc 2013-05-17 14:25:58 PDT ---
What's "id"? Isn't it better for "id" to be just the version number of the compiler? The version number is easy to understand for final users, while Bugzilla issue numbers or other numbers are less easy to remember and use.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 17, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=10109



--- Comment #3 from bearophile_hugs@eml.cc 2013-05-17 15:38:31 PDT ---
(In reply to comment #2)
> What's "id"? Isn't it better for "id" to be just the version number of the compiler? The version number is easy to understand for final users, while Bugzilla issue numbers or other numbers are less easy to remember and use.

dmd -transition=?

Currently prints:

Language changes listed by -transition=id:
  =field,3449    do list all non-mutable fields occupies object instance
  =tls           do list all variables going into thread local storage

So id is a string and there is a key. I think this is OK. Sorry for the noise.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------