diff options
author | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-25 15:51:04 -0700 |
---|---|---|
committer | Adriaan Moors <adriaan.moors@typesafe.com> | 2014-03-25 15:51:04 -0700 |
commit | 0bc3ec9a8e03eb7defa7488b84f5ff018c1ea32a (patch) | |
tree | ec3e65a14ce86c4427d97486e09bd19dd07cd88a /04-identifiers-names-and-scopes.md | |
parent | 2f3d0fddefdc0e11290805a0f16c68c52b1c6ffb (diff) | |
download | scala-0bc3ec9a8e03eb7defa7488b84f5ff018c1ea32a.tar.gz scala-0bc3ec9a8e03eb7defa7488b84f5ff018c1ea32a.tar.bz2 scala-0bc3ec9a8e03eb7defa7488b84f5ff018c1ea32a.zip |
formatting
Diffstat (limited to '04-identifiers-names-and-scopes.md')
-rw-r--r-- | 04-identifiers-names-and-scopes.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/04-identifiers-names-and-scopes.md b/04-identifiers-names-and-scopes.md index 45798b82e2..57af8afc3e 100644 --- a/04-identifiers-names-and-scopes.md +++ b/04-identifiers-names-and-scopes.md @@ -38,8 +38,10 @@ Note that shadowing is only a partial order. In a situation like ``` val x = 1; -{ import p.x; - x } +{ + import p.x; + x +} ``` neither binding of `x` shadows the other. Consequently, the |