Bug 10109 – add -transition compiler switch to aid in dealing with breaking changes

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2013-05-17T13:12:00Z
Last change time
2013-05-17T15:38:31Z
Assigned to
nobody
Creator
bugzilla

Comments

Comment #0 by bugzilla — 2013-05-17T13:12:37Z
-transition=id show additional info about language change identified by 'id' -transition=? list all language changes
Comment #1 by bugzilla — 2013-05-17T13:12:59Z
Comment #2 by bearophile_hugs — 2013-05-17T14:25:58Z
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.
Comment #3 by bearophile_hugs — 2013-05-17T15:38:31Z
(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.