diff options
author | Janek Bogucki <janekdb@gmail.com> | 2015-07-06 08:42:59 +0100 |
---|---|---|
committer | Janek Bogucki <janekdb@gmail.com> | 2015-07-06 08:42:59 +0100 |
commit | d2199c53788bec16101ec2c1048cfe4a6331a49b (patch) | |
tree | 82b94e5fb41bbb40af62127dbda5e312ac5228a0 /src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala | |
parent | 8d119e61068811c6cf333dcfbbca0aed2f6fb4f8 (diff) | |
download | scala-d2199c53788bec16101ec2c1048cfe4a6331a49b.tar.gz scala-d2199c53788bec16101ec2c1048cfe4a6331a49b.tar.bz2 scala-d2199c53788bec16101ec2c1048cfe4a6331a49b.zip |
Fix 25 typos (s)
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala b/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala index f90e32ce8a..f3856db552 100644 --- a/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala +++ b/src/compiler/scala/tools/nsc/typechecker/MethodSynthesis.scala @@ -436,7 +436,7 @@ trait MethodSynthesis { if (tree.symbol.owner.isTrait || hasUnitType(basisSym)) rhs1 else gen.mkAssignAndReturn(basisSym, rhs1) ) - derivedSym setPos tree.pos // cannot set it at createAndEnterSymbol because basisSym can possible stil have NoPosition + derivedSym setPos tree.pos // cannot set it at createAndEnterSymbol because basisSym can possibly still have NoPosition val ddefRes = DefDef(derivedSym, new ChangeOwnerAndModuleClassTraverser(basisSym, derivedSym)(body)) // ValDef will have its position focused whereas DefDef will have original correct rangepos // ideally positions would be correct at the creation time but lazy vals are really a special case |