diff options
author | Martin Odersky <odersky@gmail.com> | 2009-08-16 16:29:36 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2009-08-16 16:29:36 +0000 |
commit | 110b737f99c4e4850f9a0f861db6b9f831ae056e (patch) | |
tree | 35db6883632ffdef4c49f0699cf330f9526ce6c9 /src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | |
parent | fe72ad6351aa3e06c894972e959fa768ed60a515 (diff) | |
download | scala-110b737f99c4e4850f9a0f861db6b9f831ae056e.tar.gz scala-110b737f99c4e4850f9a0f861db6b9f831ae056e.tar.bz2 scala-110b737f99c4e4850f9a0f861db6b9f831ae056e.zip |
1.
2. Relaxed bounds checking rules for existential types.
Diffstat (limited to 'src/compiler/scala/tools/nsc/ast/parser/Parsers.scala')
-rwxr-xr-x | src/compiler/scala/tools/nsc/ast/parser/Parsers.scala | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala index 787e96d1d8..da233feab3 100755 --- a/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala +++ b/src/compiler/scala/tools/nsc/ast/parser/Parsers.scala @@ -75,7 +75,8 @@ self => def warning(offset: Int, msg: String) { unit.warning(o2p(offset), msg) } - def deprecationWarning(offset: Int, msg: String) { + def deprecationWarning(offset: Int, + msg: String) { unit.deprecationWarning(o2p(offset), msg) } @@ -429,7 +430,7 @@ self => global.atPos(r2p(offset, offset, in.lastOffset max offset))(t) def atPos[T <: Tree](start: Int, point: Int)(t: T): T = global.atPos(r2p(start, point, in.lastOffset max start))(t) - def atPos[T <: Tree](start: Int, point: Int, end: Int)(t: T): T = // !!! put an { brace here and observe + def atPos[T <: Tree](start: Int, point: Int, end: Int)(t: T): T = global.atPos(r2p(start, point, end))(t) def atPos[T <: Tree](pos: Position)(t: T): T = global.atPos(pos)(t) |