diff options
author | Jason Zaugg <jzaugg@gmail.com> | 2013-02-24 15:04:22 +0100 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-03-05 09:40:32 -0800 |
commit | a8d60a6c76d2d5434148c2d7c8f2bf147855252c (patch) | |
tree | 6020d5153e844bbc5296b8a4251fc7858d429f09 /src/reflect/scala/reflect/internal/Positions.scala | |
parent | fff0f50773b45690d571852b139bd6da7b6a45ae (diff) | |
download | scala-a8d60a6c76d2d5434148c2d7c8f2bf147855252c.tar.gz scala-a8d60a6c76d2d5434148c2d7c8f2bf147855252c.tar.bz2 scala-a8d60a6c76d2d5434148c2d7c8f2bf147855252c.zip |
Name boolean arguments in src/reflect.
Diffstat (limited to 'src/reflect/scala/reflect/internal/Positions.scala')
-rw-r--r-- | src/reflect/scala/reflect/internal/Positions.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reflect/scala/reflect/internal/Positions.scala b/src/reflect/scala/reflect/internal/Positions.scala index f5aeec63e1..cc32a0363f 100644 --- a/src/reflect/scala/reflect/internal/Positions.scala +++ b/src/reflect/scala/reflect/internal/Positions.scala @@ -36,7 +36,7 @@ trait Positions extends api.Positions { self: SymbolTable => * If some of the trees are ranges, returns a range position enclosing all ranges * Otherwise returns default position that is either focused or not. */ - def wrappingPos(default: Position, trees: List[Tree]): Position = wrappingPos(default, trees, true) + def wrappingPos(default: Position, trees: List[Tree]): Position = wrappingPos(default, trees, focus = true) def wrappingPos(default: Position, trees: List[Tree], focus: Boolean): Position = { if (useOffsetPositions) default else { val ranged = trees filter (_.pos.isRange) @@ -61,7 +61,7 @@ trait Positions extends api.Positions { self: SymbolTable => * shortening the range, assigning TransparentPositions * to some of the nodes in `tree` or focusing on the position. */ - def ensureNonOverlapping(tree: Tree, others: List[Tree]){ ensureNonOverlapping(tree, others, true) } + def ensureNonOverlapping(tree: Tree, others: List[Tree]){ ensureNonOverlapping(tree, others, focus = true) } def ensureNonOverlapping(tree: Tree, others: List[Tree], focus: Boolean) { if (useOffsetPositions) return |