Skip to content

Commit

Permalink
Merge pull request #1082 from julienroubieu/patch-1
Browse files Browse the repository at this point in the history
Fixed _root_ package name
  • Loading branch information
SethTisue authored Jun 6, 2018
2 parents c6d2d86 + 7e9e43a commit e50eed4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _tour/packages-and-imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,11 +73,11 @@ def sqrtplus1(x: Int) = {
sqrt(x) + 1.0
}
```
In the event there is a naming conflict and you need to import something from the root of the project, prefix the package name with `__root__`:
In the event there is a naming conflict and you need to import something from the root of the project, prefix the package name with `_root_`:
```
package accounts
import __root__.users._
import _root_.users._
```


Expand Down

0 comments on commit e50eed4

Please sign in to comment.