SI-8266 Amend advice for deprecated octal 042 #3598

Merged
merged 1 commit into from Mar 14, 2014

Projects

None yet

2 participants

@som-snytt
Contributor

Improve the advice for f"\042" to read:

use ${'"'} or a triple-quoted literal """with embedded " or \u0022""" instead.

as per the discussion on SI-6476.

Knuth says that Charles XII came close to introducing octal arithmetic to Sweden,
and Wikipedia doesn't deny it.

I imagine an alternative history in which octal literals are deprecated in Scala
but required by legislation in Akka. #octal-fan-fiction

@som-snytt som-snytt SI-8266 Amend advice for deprecated octal 042
Improve the advice for `f"\042"` to read:

```
use ${'"'} or a triple-quoted literal """with embedded " or \u0022""" instead.
```

as per the discussion on SI-6476.

Knuth says that Charles XII came close to introducing octal arithmetic to Sweden,
and Wikipedia doesn't deny it.

I imagine an alternative history in which octal literals are deprecated in Scala
but required by legislation in Akka. #octal-fan-fiction
953b776
@som-snytt som-snytt added the tested label Feb 28, 2014
@som-snytt
Contributor

Suspended animation.

@som-snytt som-snytt closed this Mar 3, 2014
@som-snytt
Contributor

Reanimating.

@som-snytt som-snytt reopened this Mar 11, 2014
@adriaanm
Member

review by @retronym

@adriaanm
Member

LGTM

@adriaanm
Member

Wikipedia doesn't deny a lot of things, but still.

@adriaanm adriaanm merged commit 2aa5874 into scala:master Mar 14, 2014

1 check passed

default pr-scala Took 90 min.
Details
@adriaanm adriaanm modified the milestone: 2.11.0-RC3, 2.11.0-RC2 Mar 18, 2014
@som-snytt som-snytt deleted the som-snytt:issue/8266-amend-advice branch May 27, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment