diff options
author | Janek Bogucki <janekdb@gmail.com> | 2017-02-12 21:24:56 +0000 |
---|---|---|
committer | Janek Bogucki <janekdb@gmail.com> | 2017-02-13 10:21:25 +0000 |
commit | 1eb331b4196492f8f8084a2c102272c3a9c0cd2d (patch) | |
tree | 7f917176a882c8fbede98f63a528ec55bb623420 /src/compiler/scala/tools/nsc/transform/SampleTransform.scala | |
parent | 4bbb7afabe909881a84ed283d7a1b65ef4410973 (diff) | |
download | scala-1eb331b4196492f8f8084a2c102272c3a9c0cd2d.tar.gz scala-1eb331b4196492f8f8084a2c102272c3a9c0cd2d.tar.bz2 scala-1eb331b4196492f8f8084a2c102272c3a9c0cd2d.zip |
Fix typos in compiler and reflect
Miscellania:
Miscellania is a small island off the northernmost part
of the Fremennik Isles - RunScape Wiki
Miscellanea:
A collection of miscellaneous objects or writings - Merriam-Webster
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/SampleTransform.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/SampleTransform.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/SampleTransform.scala b/src/compiler/scala/tools/nsc/transform/SampleTransform.scala index ba303f7c2b..4c1705e386 100644 --- a/src/compiler/scala/tools/nsc/transform/SampleTransform.scala +++ b/src/compiler/scala/tools/nsc/transform/SampleTransform.scala @@ -35,7 +35,7 @@ abstract class SampleTransform extends Transform { atPos(tree1.pos)( // `atPos` fills in position of its tree argument Select( // The `Select` factory method is defined in class `Trees` sup, - currentOwner.newValue( // creates a new term symbol owned by `currentowner` + currentOwner.newValue( // creates a new term symbol owned by `currentOwner` newTermName("sample"), // The standard term name creator tree1.pos))))) case _ => |