diff options
author | Seth Tisue <seth@tisue.net> | 2017-02-16 13:42:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-02-16 13:42:49 -0800 |
commit | 98a7d4ce0234dc1c4b080ecaeed9ced09d39578a (patch) | |
tree | 995f19014bfa2021c0a1a074d1732f993dfaf107 /src/compiler/scala/tools/nsc/transform/Mixin.scala | |
parent | 955b779b63d16ab3d2d24b454374c55e9d06c228 (diff) | |
parent | 1eb331b4196492f8f8084a2c102272c3a9c0cd2d (diff) | |
download | scala-98a7d4ce0234dc1c4b080ecaeed9ced09d39578a.tar.gz scala-98a7d4ce0234dc1c4b080ecaeed9ced09d39578a.tar.bz2 scala-98a7d4ce0234dc1c4b080ecaeed9ced09d39578a.zip |
Merge pull request #5694 from janekdb/topic/2.12.x-scaladoc-spelling-corrections-2
Fix typos in compiler and reflect
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/Mixin.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/Mixin.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/Mixin.scala b/src/compiler/scala/tools/nsc/transform/Mixin.scala index de0db51b6c..96e2135c52 100644 --- a/src/compiler/scala/tools/nsc/transform/Mixin.scala +++ b/src/compiler/scala/tools/nsc/transform/Mixin.scala @@ -32,7 +32,7 @@ abstract class Mixin extends InfoTransform with ast.TreeDSL with AccessorSynthes * we cannot emit PROTECTED methods in interfaces on the JVM, * but knowing that these trait methods are protected means we won't emit static forwarders. * - * JVMLS: "Methods of interfaces may have any of the flags in Table 4.6-A set + * JVMS: "Methods of interfaces may have any of the flags in Table 4.6-A set * except ACC_PROTECTED, ACC_FINAL, ACC_SYNCHRONIZED, and ACC_NATIVE (JLS ยง9.4)." * * TODO: can we just set the right flags from the start?? @@ -137,7 +137,7 @@ abstract class Mixin extends InfoTransform with ast.TreeDSL with AccessorSynthes */ def addMember(clazz: Symbol, member: Symbol): Symbol = { debuglog(s"mixing into $clazz: ${member.defString}") - // This attachment is used to instruct the backend about which methids in traits require + // This attachment is used to instruct the backend about which methods in traits require // a static trait impl method. We remove this from the new symbol created for the method // mixed into the subclass. member.removeAttachment[NeedStaticImpl.type] |