diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2014-02-14 16:35:58 +0100 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2014-02-15 09:32:26 +0100 |
commit | 1c4863439c763bdcce9cb276a1eb1bcc2763d9b8 (patch) | |
tree | dc25dfee2bd3f18c4309d0d4218cae83d05e49e1 /src | |
parent | 2e4cce358d89f3c85a357ab2241790fafcdbf10a (diff) | |
download | scala-1c4863439c763bdcce9cb276a1eb1bcc2763d9b8.tar.gz scala-1c4863439c763bdcce9cb276a1eb1bcc2763d9b8.tar.bz2 scala-1c4863439c763bdcce9cb276a1eb1bcc2763d9b8.zip |
addresses pull request feedback
Diffstat (limited to 'src')
-rw-r--r-- | src/reflect/scala/reflect/api/Internals.scala | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/reflect/scala/reflect/api/Internals.scala b/src/reflect/scala/reflect/api/Internals.scala index 70a74dd274..014750b023 100644 --- a/src/reflect/scala/reflect/api/Internals.scala +++ b/src/reflect/scala/reflect/api/Internals.scala @@ -935,21 +935,21 @@ trait Internals { self: Universe => } /** Scala 2.10 compatibility enrichments for ClassDef. */ - class CompatibleClassDefExtractor(dex: ClassDefExtractor) { + implicit class CompatibleClassDefExtractor(dex: ClassDefExtractor) { /** @see [[InternalApi.classDef]] */ @deprecated("Use `internal.classDef` instead", "2.11.0") def apply(sym: Symbol, impl: Template): ClassDef = internal.classDef(sym, impl) } /** Scala 2.10 compatibility enrichments for ModuleDef. */ - class CompatibleModuleDefExtractor(dex: ModuleDefExtractor) { + implicit class CompatibleModuleDefExtractor(dex: ModuleDefExtractor) { /** @see [[InternalApi.moduleDef]] */ @deprecated("Use `internal.moduleDef` instead", "2.11.0") def apply(sym: Symbol, impl: Template): ModuleDef = internal.moduleDef(sym, impl) } /** Scala 2.10 compatibility enrichments for ValDef. */ - class CompatibleValDefExtractor(dex: ValDefExtractor) { + implicit class CompatibleValDefExtractor(dex: ValDefExtractor) { /** @see [[InternalApi.valDef]] */ @deprecated("Use `internal.valDef` instead", "2.11.0") def apply(sym: Symbol, rhs: Tree): ValDef = internal.valDef(sym, rhs) @@ -960,7 +960,7 @@ trait Internals { self: Universe => } /** Scala 2.10 compatibility enrichments for ValDef. */ - class CompatibleDefDefExtractor(dex: DefDefExtractor) { + implicit class CompatibleDefDefExtractor(dex: DefDefExtractor) { /** @see [[InternalApi.defDef]] */ @deprecated("Use `internal.defDef` instead", "2.11.0") def apply(sym: Symbol, mods: Modifiers, vparamss: List[List[ValDef]], rhs: Tree): DefDef = internal.defDef(sym, mods, vparamss, rhs) @@ -983,7 +983,7 @@ trait Internals { self: Universe => } /** Scala 2.10 compatibility enrichments for TypeDef. */ - class CompatibleTypeDefExtractor(dex: TypeDefExtractor) { + implicit class CompatibleTypeDefExtractor(dex: TypeDefExtractor) { /** @see [[InternalApi.typeDef]] */ @deprecated("Use `internal.typeDef` instead", "2.11.0") def apply(sym: Symbol, rhs: Tree): TypeDef = internal.typeDef(sym, rhs) @@ -994,7 +994,7 @@ trait Internals { self: Universe => } /** Scala 2.10 compatibility enrichments for LabelDef. */ - class CompatibleLabelDefExtractor(dex: LabelDefExtractor) { + implicit class CompatibleLabelDefExtractor(dex: LabelDefExtractor) { /** @see [[InternalApi.labelDef]] */ @deprecated("Use `internal.labelDef` instead", "2.11.0") def apply(sym: Symbol, params: List[Symbol], rhs: Tree): LabelDef = internal.labelDef(sym, params, rhs) |