Skip to content

Commit

Permalink
fix changlog entry
Browse files Browse the repository at this point in the history
see Issue 18148
  • Loading branch information
MartinNowak committed Dec 31, 2017
1 parent 11f5100 commit 35be0df
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions changelog/fix16997.dd
Expand Up @@ -18,9 +18,8 @@ The values computed will be different for some values of the operands:

* The values of `-byte(-128)` and `-short(-32768)` will change.

If one of the '-transition=' switches is not specified, and warnings are turned on,
a warning will be emitted for these operations. To turn off the warning and work
as desired with or without the '-transition=' switch:
If one of the '-transition=' switches is not specified, a deprecation will be emitted for these operations.
To fix the deprecation and work as desired with or without the '-transition=' switch:

Option 1:

Expand All @@ -30,5 +29,4 @@ Option 2:

Rewrite `op b` as `typeof(b)(op int(b))` to preserve the old behavior.

Eventually, the warning will become a deprecation, then an error, and then the C-like behavior
will become the default.
Once deprecated this will become an error, and then the C-like behavior will become the default.

0 comments on commit 35be0df

Please sign in to comment.