diff options
Diffstat (limited to 'src/dotty')
67 files changed, 67 insertions, 67 deletions
diff --git a/src/dotty/DottyPredef.scala b/src/dotty/DottyPredef.scala index 3ffa4049f..b4580b6a3 100644 --- a/src/dotty/DottyPredef.scala +++ b/src/dotty/DottyPredef.scala @@ -7,4 +7,4 @@ object DottyPredef { /** implicits for ClassTag and TypeTag. Should be implemented with macros */ implicit def classTag[T]: ClassTag[T] = ??? implicit def typeTag[T]: TypeTag[T] = ??? -}
\ No newline at end of file +} diff --git a/src/dotty/Pair.scala b/src/dotty/Pair.scala index 73696b69c..2322fe169 100644 --- a/src/dotty/Pair.scala +++ b/src/dotty/Pair.scala @@ -2,4 +2,4 @@ package dotty class Pair[T, U](x: T, y: U) { -}
\ No newline at end of file +} diff --git a/src/dotty/Singleton.scala b/src/dotty/Singleton.scala index 06f975b01..4ba57a12d 100644 --- a/src/dotty/Singleton.scala +++ b/src/dotty/Singleton.scala @@ -2,4 +2,4 @@ package dotty class Singleton { -}
\ No newline at end of file +} diff --git a/src/dotty/annotation/internal/Alias.scala b/src/dotty/annotation/internal/Alias.scala index 44695c7dd..de51153f1 100644 --- a/src/dotty/annotation/internal/Alias.scala +++ b/src/dotty/annotation/internal/Alias.scala @@ -4,4 +4,4 @@ import scala.annotation.Annotation class Alias(aliased: Any) extends Annotation { -}
\ No newline at end of file +} diff --git a/src/dotty/annotation/internal/AnnotationDefault.scala b/src/dotty/annotation/internal/AnnotationDefault.scala index 1405c94bd..90471b8fe 100644 --- a/src/dotty/annotation/internal/AnnotationDefault.scala +++ b/src/dotty/annotation/internal/AnnotationDefault.scala @@ -4,4 +4,4 @@ import scala.annotation.Annotation class AnnotationDefault extends Annotation { -}
\ No newline at end of file +} diff --git a/src/dotty/annotation/internal/Child.scala b/src/dotty/annotation/internal/Child.scala index 9c2f83d7b..ac253ed8d 100644 --- a/src/dotty/annotation/internal/Child.scala +++ b/src/dotty/annotation/internal/Child.scala @@ -4,4 +4,4 @@ import scala.annotation.Annotation class Child[T] extends Annotation { -}
\ No newline at end of file +} diff --git a/src/dotty/annotation/internal/Repeated.scala b/src/dotty/annotation/internal/Repeated.scala index 94e9df858..3065b7a06 100644 --- a/src/dotty/annotation/internal/Repeated.scala +++ b/src/dotty/annotation/internal/Repeated.scala @@ -2,4 +2,4 @@ package dotty.annotation.internal import scala.annotation.Annotation -final class Repeated() extends Annotation
\ No newline at end of file +final class Repeated() extends Annotation diff --git a/src/dotty/language.scala b/src/dotty/language.scala index 169b2604c..96250a9f2 100644 --- a/src/dotty/language.scala +++ b/src/dotty/language.scala @@ -13,4 +13,4 @@ object language { /** No auto tupling */ val noAutoTupling = new Feature -}
\ No newline at end of file +} diff --git a/src/dotty/runtime/Arrays.scala b/src/dotty/runtime/Arrays.scala index 5767991e5..0cba56d09 100644 --- a/src/dotty/runtime/Arrays.scala +++ b/src/dotty/runtime/Arrays.scala @@ -51,4 +51,4 @@ object Arrays { /** Create a scala.runtime.BoxedUnit[] array */ def newUnitArray(length: Int): Array[Unit] = ??? -}
\ No newline at end of file +} diff --git a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala index 8cc3c34e5..058511381 100644 --- a/src/dotty/tools/backend/jvm/DottyBackendInterface.scala +++ b/src/dotty/tools/backend/jvm/DottyBackendInterface.scala @@ -1033,4 +1033,4 @@ class DottyBackendInterface()(implicit ctx: Context) extends BackendInterface{ } def currentUnit = ctx.compilationUnit -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/CompilationUnit.scala b/src/dotty/tools/dotc/CompilationUnit.scala index de51a84cf..60e16ec3e 100644 --- a/src/dotty/tools/dotc/CompilationUnit.scala +++ b/src/dotty/tools/dotc/CompilationUnit.scala @@ -38,4 +38,4 @@ class CompilationUnit(val source: SourceFile) { * so one can reliably use this function only dirrectly after `pickler` */ var addrOfSym: Symbol => Option[Addr] = (_ => None) -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/Compiler.scala b/src/dotty/tools/dotc/Compiler.scala index 40f354c7c..25a4c578b 100644 --- a/src/dotty/tools/dotc/Compiler.scala +++ b/src/dotty/tools/dotc/Compiler.scala @@ -106,4 +106,4 @@ class Compiler { ctx.runInfo.clear() new Run(this)(rootContext) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/Run.scala b/src/dotty/tools/dotc/Run.scala index a8cc01fc8..af9c878f0 100644 --- a/src/dotty/tools/dotc/Run.scala +++ b/src/dotty/tools/dotc/Run.scala @@ -81,4 +81,4 @@ class Run(comp: Compiler)(implicit ctx: Context) { r.printSummary r } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/ast/PluggableTransformers.scala b/src/dotty/tools/dotc/ast/PluggableTransformers.scala index 84bbf833c..a584230a2 100644 --- a/src/dotty/tools/dotc/ast/PluggableTransformers.scala +++ b/src/dotty/tools/dotc/ast/PluggableTransformers.scala @@ -102,4 +102,4 @@ class ExampleTransformer extends PluggableTransformer[Type] { override def transform(tree: tpd.Tree, ctx: Context) = super.transform(tree, ctx) */ -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/ast/Positioned.scala b/src/dotty/tools/dotc/ast/Positioned.scala index be3f904a9..e0bd6c75a 100644 --- a/src/dotty/tools/dotc/ast/Positioned.scala +++ b/src/dotty/tools/dotc/ast/Positioned.scala @@ -136,4 +136,4 @@ abstract class Positioned extends DotClass with Product { if (cpath.nonEmpty) this :: cpath else Nil } else Nil } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/config/Config.scala b/src/dotty/tools/dotc/config/Config.scala index a599b5892..df71bee47 100644 --- a/src/dotty/tools/dotc/config/Config.scala +++ b/src/dotty/tools/dotc/config/Config.scala @@ -71,4 +71,4 @@ object Config { /** Check that certain types cannot be created in erasedTypes phases */ final val checkUnerased = true -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/config/Printers.scala b/src/dotty/tools/dotc/config/Printers.scala index d1738ee6f..b44a1d2f6 100644 --- a/src/dotty/tools/dotc/config/Printers.scala +++ b/src/dotty/tools/dotc/config/Printers.scala @@ -31,4 +31,4 @@ object Printers { val transforms = noPrinter val cyclicErrors = noPrinter val pickling = noPrinter -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/config/ScalaSettings.scala b/src/dotty/tools/dotc/config/ScalaSettings.scala index 0d4034db2..444a1c1ae 100644 --- a/src/dotty/tools/dotc/config/ScalaSettings.scala +++ b/src/dotty/tools/dotc/config/ScalaSettings.scala @@ -183,4 +183,4 @@ class ScalaSettings extends Settings.SettingGroup { val YpresentationLog = StringSetting("-Ypresentation-log", "file", "Log presentation compiler events into file", "") val YpresentationReplay = StringSetting("-Ypresentation-replay", "file", "Replay presentation compiler events from file", "") val YpresentationDelay = IntSetting("-Ypresentation-delay", "Wait number of ms after typing before starting typechecking", 0, 0 to 999) -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/config/Settings.scala b/src/dotty/tools/dotc/config/Settings.scala index 531c49bfb..73bb056aa 100644 --- a/src/dotty/tools/dotc/config/Settings.scala +++ b/src/dotty/tools/dotc/config/Settings.scala @@ -256,4 +256,4 @@ object Settings { def VersionSetting(name: String, descr: String, default: ScalaVersion = NoScalaVersion): Setting[ScalaVersion] = publish(Setting(name, descr, default)) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/Annotations.scala b/src/dotty/tools/dotc/core/Annotations.scala index d264483e6..0dc7113f2 100644 --- a/src/dotty/tools/dotc/core/Annotations.scala +++ b/src/dotty/tools/dotc/core/Annotations.scala @@ -121,4 +121,4 @@ object Annotations { arg <- annot.argumentConstant(0)) yield ScalaVersion.parse(arg.stringValue) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/Flags.scala b/src/dotty/tools/dotc/core/Flags.scala index 108a9edee..a60f7e70d 100644 --- a/src/dotty/tools/dotc/core/Flags.scala +++ b/src/dotty/tools/dotc/core/Flags.scala @@ -596,4 +596,4 @@ object Flags { implicit def conjToFlagSet(conj: FlagConjunction): FlagSet = FlagSet(conj.bits) -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/NameOps.scala b/src/dotty/tools/dotc/core/NameOps.scala index 13ff92a8a..1834dbe64 100644 --- a/src/dotty/tools/dotc/core/NameOps.scala +++ b/src/dotty/tools/dotc/core/NameOps.scala @@ -365,4 +365,4 @@ object NameOps { case name => name } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/OrderingConstraint.scala b/src/dotty/tools/dotc/core/OrderingConstraint.scala index 53378435e..0c39a26a6 100644 --- a/src/dotty/tools/dotc/core/OrderingConstraint.scala +++ b/src/dotty/tools/dotc/core/OrderingConstraint.scala @@ -554,4 +554,4 @@ class OrderingConstraint(private val boundsMap: ParamBounds, } Text.lines(List(header, uninstVarsText, constrainedText, boundsText, orderingText, ")")) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/Periods.scala b/src/dotty/tools/dotc/core/Periods.scala index 0cd41a7df..6efadab7f 100644 --- a/src/dotty/tools/dotc/core/Periods.scala +++ b/src/dotty/tools/dotc/core/Periods.scala @@ -156,4 +156,4 @@ object Periods { final val PhaseWidth = 6 final val PhaseMask = (1 << PhaseWidth) - 1 final val MaxPossiblePhaseId = PhaseMask -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/Phases.scala b/src/dotty/tools/dotc/core/Phases.scala index aa089bc15..96066db5e 100644 --- a/src/dotty/tools/dotc/core/Phases.scala +++ b/src/dotty/tools/dotc/core/Phases.scala @@ -342,4 +342,4 @@ object Phases { private implicit class getClassDeco[T](val x: T) extends AnyVal { def getClazz: Class[_ <: T] = x.getClass.asInstanceOf[Class[_ <: T]] } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/Signature.scala b/src/dotty/tools/dotc/core/Signature.scala index 4e041e629..8717c4f42 100644 --- a/src/dotty/tools/dotc/core/Signature.scala +++ b/src/dotty/tools/dotc/core/Signature.scala @@ -59,4 +59,4 @@ object Signature { assert(!resultType.isInstanceOf[ExprType]) apply(Nil, sigName(resultType, isJava)) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/Skolemization.scala b/src/dotty/tools/dotc/core/Skolemization.scala index 2832a3bad..1d0067a4f 100644 --- a/src/dotty/tools/dotc/core/Skolemization.scala +++ b/src/dotty/tools/dotc/core/Skolemization.scala @@ -123,4 +123,4 @@ trait Skolemization { } } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/Substituters.scala b/src/dotty/tools/dotc/core/Substituters.scala index b45522bf9..77ecf7fba 100644 --- a/src/dotty/tools/dotc/core/Substituters.scala +++ b/src/dotty/tools/dotc/core/Substituters.scala @@ -277,4 +277,4 @@ trait Substituters { this: Context => final class SubstParamsMap(from: BindingType, to: List[Type]) extends DeepTypeMap { def apply(tp: Type) = substParams(tp, from, to, this) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/TypeApplications.scala b/src/dotty/tools/dotc/core/TypeApplications.scala index 6c3fef1a9..f08183b67 100644 --- a/src/dotty/tools/dotc/core/TypeApplications.scala +++ b/src/dotty/tools/dotc/core/TypeApplications.scala @@ -548,4 +548,4 @@ class TypeApplications(val self: Type) extends AnyVal { else if (typeParams.nonEmpty) p(EtaExpand) || tryLift(self.baseClasses) else tryLift(self.baseClasses) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/Uniques.scala b/src/dotty/tools/dotc/core/Uniques.scala index fcf2df30b..c24b0cabc 100644 --- a/src/dotty/tools/dotc/core/Uniques.scala +++ b/src/dotty/tools/dotc/core/Uniques.scala @@ -124,4 +124,4 @@ object Uniques { } } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/pickling/PositionPickler.scala b/src/dotty/tools/dotc/core/pickling/PositionPickler.scala index 8ee70719e..d791e37d2 100644 --- a/src/dotty/tools/dotc/core/pickling/PositionPickler.scala +++ b/src/dotty/tools/dotc/core/pickling/PositionPickler.scala @@ -72,4 +72,4 @@ class PositionPickler(pickler: TastyPickler, addrOfTree: Tree => Option[Addr]) { buf.writeNat(totalRange.end) traverse(roots, totalRange, record) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/pickling/PositionUnpickler.scala b/src/dotty/tools/dotc/core/pickling/PositionUnpickler.scala index 4d06cf792..782e871c0 100644 --- a/src/dotty/tools/dotc/core/pickling/PositionUnpickler.scala +++ b/src/dotty/tools/dotc/core/pickling/PositionUnpickler.scala @@ -34,4 +34,4 @@ class PositionUnpickler(reader: TastyReader) { } (Position(0, sourceLength), positions) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala b/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala index a3d30b9b2..37a1e3b40 100644 --- a/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala +++ b/src/dotty/tools/dotc/core/pickling/TastyPrinter.scala @@ -119,4 +119,4 @@ class TastyPrinter(bytes: Array[Byte])(implicit ctx: Context) { for ((addr, pos) <- sorted) println(s"${addr.index}: ${offsetToInt(pos.start)} .. ${pos.end}") } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/parsing/ScriptParsers.scala b/src/dotty/tools/dotc/parsing/ScriptParsers.scala index 8b5c51c34..afa7fefab 100644 --- a/src/dotty/tools/dotc/parsing/ScriptParsers.scala +++ b/src/dotty/tools/dotc/parsing/ScriptParsers.scala @@ -142,4 +142,4 @@ object ScriptParsers { makePackaging(0, emptyPkg, List(moduleDef)) }*/ } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/parsing/package.scala b/src/dotty/tools/dotc/parsing/package.scala index 0f64f9e1f..8b113ed96 100644 --- a/src/dotty/tools/dotc/parsing/package.scala +++ b/src/dotty/tools/dotc/parsing/package.scala @@ -30,4 +30,4 @@ package object parsing { def minInfixPrec = 1 def maxPrec = 11 -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/printing/Disambiguation.scala b/src/dotty/tools/dotc/printing/Disambiguation.scala index baacee42f..29b290f03 100644 --- a/src/dotty/tools/dotc/printing/Disambiguation.scala +++ b/src/dotty/tools/dotc/printing/Disambiguation.scala @@ -83,4 +83,4 @@ object Disambiguation { case _ => res } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/printing/Texts.scala b/src/dotty/tools/dotc/printing/Texts.scala index a45e7af1f..db81cab7a 100644 --- a/src/dotty/tools/dotc/printing/Texts.scala +++ b/src/dotty/tools/dotc/printing/Texts.scala @@ -165,4 +165,4 @@ object Texts { class Closed(relems: List[Text]) extends Fluid(relems) implicit def stringToText(s: String): Text = Str(s) -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/CapturedVars.scala b/src/dotty/tools/dotc/transform/CapturedVars.scala index 77b912f08..86cf80073 100644 --- a/src/dotty/tools/dotc/transform/CapturedVars.scala +++ b/src/dotty/tools/dotc/transform/CapturedVars.scala @@ -102,4 +102,4 @@ class CapturedVars extends MiniPhase with IdentityDenotTransformer { thisTransfo cpy.Assign(tree)(lhs1, tree.rhs) } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/CollectEntryPoints.scala b/src/dotty/tools/dotc/transform/CollectEntryPoints.scala index 1109d1f90..2ccadddc3 100644 --- a/src/dotty/tools/dotc/transform/CollectEntryPoints.scala +++ b/src/dotty/tools/dotc/transform/CollectEntryPoints.scala @@ -113,4 +113,4 @@ class SymbolOrdering(implicit ctx: Context) extends Ordering[Symbol] { override def compare(x: Symbol, y: Symbol): Int = { x.fullName.toString.compareTo(y.fullName.toString) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/Constructors.scala b/src/dotty/tools/dotc/transform/Constructors.scala index 165210cfb..318d15c9e 100644 --- a/src/dotty/tools/dotc/transform/Constructors.scala +++ b/src/dotty/tools/dotc/transform/Constructors.scala @@ -214,4 +214,4 @@ class Constructors extends MiniPhaseTransform with SymTransformer { thisTransfor rhs = Block(superCalls ::: copyParams ::: followConstrStats, unitLiteral)), body = clsStats.toList) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/ExplicitOuter.scala b/src/dotty/tools/dotc/transform/ExplicitOuter.scala index 13462693b..579ff9322 100644 --- a/src/dotty/tools/dotc/transform/ExplicitOuter.scala +++ b/src/dotty/tools/dotc/transform/ExplicitOuter.scala @@ -307,4 +307,4 @@ object ExplicitOuter { } else Nil } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/FullParameterization.scala b/src/dotty/tools/dotc/transform/FullParameterization.scala index 2e3015275..0b6486225 100644 --- a/src/dotty/tools/dotc/transform/FullParameterization.scala +++ b/src/dotty/tools/dotc/transform/FullParameterization.scala @@ -234,4 +234,4 @@ trait FullParameterization { .appliedTo(This(originalDef.symbol.enclosingClass.asClass)) .appliedToArgss(originalDef.vparamss.nestedMap(vparam => ref(vparam.symbol))) .withPos(originalDef.rhs.pos) -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/Literalize.scala b/src/dotty/tools/dotc/transform/Literalize.scala index c5b6f1c21..4a223e912 100644 --- a/src/dotty/tools/dotc/transform/Literalize.scala +++ b/src/dotty/tools/dotc/transform/Literalize.scala @@ -88,4 +88,4 @@ class Literalize extends MiniPhaseTransform { thisTransform => case _ => } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/Memoize.scala b/src/dotty/tools/dotc/transform/Memoize.scala index 721857516..75a195032 100644 --- a/src/dotty/tools/dotc/transform/Memoize.scala +++ b/src/dotty/tools/dotc/transform/Memoize.scala @@ -88,4 +88,4 @@ import Decorators._ else tree } private val NoFieldNeeded = Lazy | Deferred | JavaDefined -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/PatternMatcher.scala b/src/dotty/tools/dotc/transform/PatternMatcher.scala index 1336d39e4..9dd2e1113 100644 --- a/src/dotty/tools/dotc/transform/PatternMatcher.scala +++ b/src/dotty/tools/dotc/transform/PatternMatcher.scala @@ -1915,4 +1915,4 @@ class PatternMatcher extends MiniPhaseTransform with DenotTransformer {thisTrans } } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/Pickler.scala b/src/dotty/tools/dotc/transform/Pickler.scala index 626a75139..b3caaa19b 100644 --- a/src/dotty/tools/dotc/transform/Pickler.scala +++ b/src/dotty/tools/dotc/transform/Pickler.scala @@ -80,4 +80,4 @@ class Pickler extends Phase { | | diff before-pickling.txt after-pickling.txt""".stripMargin) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/Splitter.scala b/src/dotty/tools/dotc/transform/Splitter.scala index 0a1e1b238..62a080f37 100644 --- a/src/dotty/tools/dotc/transform/Splitter.scala +++ b/src/dotty/tools/dotc/transform/Splitter.scala @@ -124,4 +124,4 @@ class Splitter extends MiniPhaseTransform { thisTransform => private val typeApply = (fn: Tree, args: List[Tree]) => (ctx: Context) => TypeApply(fn, args)(ctx) private val apply = (fn: Tree, args: List[Tree]) => (ctx: Context) => Apply(fn, args)(ctx) -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/TreeChecker.scala b/src/dotty/tools/dotc/transform/TreeChecker.scala index a282130f1..31a37eb09 100644 --- a/src/dotty/tools/dotc/transform/TreeChecker.scala +++ b/src/dotty/tools/dotc/transform/TreeChecker.scala @@ -293,4 +293,4 @@ class TreeChecker extends Phase with SymTransformer { } } -object TreeChecker extends TreeChecker
\ No newline at end of file +object TreeChecker extends TreeChecker diff --git a/src/dotty/tools/dotc/transform/TreeGen.scala b/src/dotty/tools/dotc/transform/TreeGen.scala index 7997aa308..7e507d905 100644 --- a/src/dotty/tools/dotc/transform/TreeGen.scala +++ b/src/dotty/tools/dotc/transform/TreeGen.scala @@ -23,4 +23,4 @@ object TreeGen { .select(wrapArrayMethodName(elemtp)) .appliedToTypes(if (elemtp.isPrimitiveValueType) Nil else elemtp :: Nil) .appliedTo(tree) -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/transform/TypeTestsCasts.scala b/src/dotty/tools/dotc/transform/TypeTestsCasts.scala index c25e81af9..9d827d3e0 100644 --- a/src/dotty/tools/dotc/transform/TypeTestsCasts.scala +++ b/src/dotty/tools/dotc/transform/TypeTestsCasts.scala @@ -104,4 +104,4 @@ trait TypeTestsCasts { tree } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/typer/Applications.scala b/src/dotty/tools/dotc/typer/Applications.scala index 582642325..c5bd70c1e 100644 --- a/src/dotty/tools/dotc/typer/Applications.scala +++ b/src/dotty/tools/dotc/typer/Applications.scala @@ -1023,4 +1023,4 @@ trait Applications extends Compatibility { self: Typer => def typedApply(fun: Tree, methRef: TermRef, args: List[Tree], resultType: Type)(implicit ctx: Context): Tree = typedApply(untpd.Apply(untpd.TypedSplice(fun), args), fun, methRef, args, resultType) -*/
\ No newline at end of file +*/ diff --git a/src/dotty/tools/dotc/typer/Checking.scala b/src/dotty/tools/dotc/typer/Checking.scala index b8b4c9d2c..9303572d2 100644 --- a/src/dotty/tools/dotc/typer/Checking.scala +++ b/src/dotty/tools/dotc/typer/Checking.scala @@ -333,4 +333,4 @@ trait NoChecking extends Checking { override def checkImplicitParamsNotSingletons(vparamss: List[List[ValDef]])(implicit ctx: Context): Unit = () override def checkFeasible(tp: Type, pos: Position, where: => String = "")(implicit ctx: Context): Type = tp override def checkNoDoubleDefs(cls: Symbol)(implicit ctx: Context): Unit = () -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/typer/ErrorReporting.scala b/src/dotty/tools/dotc/typer/ErrorReporting.scala index 2ed720f83..b3089c99c 100644 --- a/src/dotty/tools/dotc/typer/ErrorReporting.scala +++ b/src/dotty/tools/dotc/typer/ErrorReporting.scala @@ -148,4 +148,4 @@ object ErrorReporting { final val nonSensicalEndTag = "</nonsensical>" } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/typer/FrontEnd.scala b/src/dotty/tools/dotc/typer/FrontEnd.scala index f6f68d736..8ec5079e2 100644 --- a/src/dotty/tools/dotc/typer/FrontEnd.scala +++ b/src/dotty/tools/dotc/typer/FrontEnd.scala @@ -59,4 +59,4 @@ class FrontEnd extends Phase { enterSyms typeCheck } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/typer/ImportInfo.scala b/src/dotty/tools/dotc/typer/ImportInfo.scala index 9152a8d54..30ab19fd8 100644 --- a/src/dotty/tools/dotc/typer/ImportInfo.scala +++ b/src/dotty/tools/dotc/typer/ImportInfo.scala @@ -111,4 +111,4 @@ class ImportInfo(val sym: Symbol, val selectors: List[untpd.Tree], val isRootImp } i"import $exprStr.$selectorStr" } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/typer/Mode.scala b/src/dotty/tools/dotc/typer/Mode.scala index d7f3420cc..95c15f8ab 100644 --- a/src/dotty/tools/dotc/typer/Mode.scala +++ b/src/dotty/tools/dotc/typer/Mode.scala @@ -64,4 +64,4 @@ object Mode { val AllowDependentFunctions = newMode(9, "AllowDependentFunctions") val PatternOrType = Pattern | Type -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/typer/Namer.scala b/src/dotty/tools/dotc/typer/Namer.scala index e9e4d4c87..01c1c28ab 100644 --- a/src/dotty/tools/dotc/typer/Namer.scala +++ b/src/dotty/tools/dotc/typer/Namer.scala @@ -765,4 +765,4 @@ class Namer { typer: Typer => sym.info = NoCompleter checkNonCyclic(sym, unsafeInfo, reportErrors = true) } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/typer/ProtoTypes.scala b/src/dotty/tools/dotc/typer/ProtoTypes.scala index f646f7ecd..e2d4f6978 100644 --- a/src/dotty/tools/dotc/typer/ProtoTypes.scala +++ b/src/dotty/tools/dotc/typer/ProtoTypes.scala @@ -433,4 +433,4 @@ object ProtoTypes { case _ => None } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/typer/ReTyper.scala b/src/dotty/tools/dotc/typer/ReTyper.scala index 901542f21..d3a5fd05f 100644 --- a/src/dotty/tools/dotc/typer/ReTyper.scala +++ b/src/dotty/tools/dotc/typer/ReTyper.scala @@ -98,4 +98,4 @@ class ReTyper extends Typer { } override def checkVariance(tree: Tree)(implicit ctx: Context) = () -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/typer/Typer.scala b/src/dotty/tools/dotc/typer/Typer.scala index 58d866ac1..4bb9b90d4 100644 --- a/src/dotty/tools/dotc/typer/Typer.scala +++ b/src/dotty/tools/dotc/typer/Typer.scala @@ -1400,4 +1400,4 @@ class Typer extends Namer with TypeAssigner with Applications with Implicits wit } } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/util/Attachment.scala b/src/dotty/tools/dotc/util/Attachment.scala index ec3019bab..e29bf13fe 100644 --- a/src/dotty/tools/dotc/util/Attachment.scala +++ b/src/dotty/tools/dotc/util/Attachment.scala @@ -95,4 +95,4 @@ object Attachment { next = new Link(key, value, next) } } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/util/DotClass.scala b/src/dotty/tools/dotc/util/DotClass.scala index 7839fc37d..cdb697a45 100644 --- a/src/dotty/tools/dotc/util/DotClass.scala +++ b/src/dotty/tools/dotc/util/DotClass.scala @@ -9,4 +9,4 @@ class DotClass { def unsupported(methodName: String): Nothing = throw new UnsupportedOperationException(s"$getClass.$methodName") -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/util/Positions.scala b/src/dotty/tools/dotc/util/Positions.scala index 1f9e24897..b9075c4a1 100644 --- a/src/dotty/tools/dotc/util/Positions.scala +++ b/src/dotty/tools/dotc/util/Positions.scala @@ -170,4 +170,4 @@ object Positions { /** A sentinel for a missing coordinate */ val NoCoord = new Coord(0) -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/util/SixteenNibbles.scala b/src/dotty/tools/dotc/util/SixteenNibbles.scala index 59d1b0301..93817604e 100644 --- a/src/dotty/tools/dotc/util/SixteenNibbles.scala +++ b/src/dotty/tools/dotc/util/SixteenNibbles.scala @@ -25,4 +25,4 @@ object SixteenNibbles { final val Width = 4 final val Mask = (1 << Width) - 1 final val LongMask = Mask.toLong -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/util/Stats.scala b/src/dotty/tools/dotc/util/Stats.scala index 09dfd894d..d899e9546 100644 --- a/src/dotty/tools/dotc/util/Stats.scala +++ b/src/dotty/tools/dotc/util/Stats.scala @@ -67,4 +67,4 @@ object Stats { } } else op } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/util/Util.scala b/src/dotty/tools/dotc/util/Util.scala index 98f0b62db..02c34bc35 100644 --- a/src/dotty/tools/dotc/util/Util.scala +++ b/src/dotty/tools/dotc/util/Util.scala @@ -29,4 +29,4 @@ object Util { Array.copy(arr, 0, arr1, 0, arr.length) arr1 } -}
\ No newline at end of file +} diff --git a/src/dotty/tools/dotc/util/common.scala b/src/dotty/tools/dotc/util/common.scala index d7596c28e..d9798aec5 100644 --- a/src/dotty/tools/dotc/util/common.scala +++ b/src/dotty/tools/dotc/util/common.scala @@ -11,4 +11,4 @@ object common { val alwaysZero = Function.const(0) _ val alwaysWildcardType = Function.const(WildcardType) _ -}
\ No newline at end of file +} |