From 448953056d695c5137b079bb66fc5c6f6cdb9e8a Mon Sep 17 00:00:00 2001 From: Jason Zaugg Date: Thu, 14 May 2015 11:48:52 +1000 Subject: Correct a large number of typos. I scanned the main sources with IntellIJ's spell checker and corrected what showed up. --- src/dotty/tools/dotc/core/Names.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dotty/tools/dotc/core/Names.scala') diff --git a/src/dotty/tools/dotc/core/Names.scala b/src/dotty/tools/dotc/core/Names.scala index f0d3f02eb..ea30b1c3b 100644 --- a/src/dotty/tools/dotc/core/Names.scala +++ b/src/dotty/tools/dotc/core/Names.scala @@ -313,15 +313,15 @@ object Names { /** Create a term name from a string, without encoding operators */ def termName(s: String): TermName = termName(s.toCharArray, 0, s.length) - /** Create a type name from a string, wihtout encoding operators */ + /** Create a type name from a string, without encoding operators */ def typeName(s: String): TypeName = typeName(s.toCharArray, 0, s.length) - /** The term name represented by the empoty string */ + /** The term name represented by the empty string */ val EmptyTermName = new TermName(-1, 0, null) table(0) = EmptyTermName - /** The type name represented by the empoty string */ + /** The type name represented by the empty string */ val EmptyTypeName = EmptyTermName.toTypeName // can't move CONSTRUCTOR/EMPTY_PACKAGE to `nme` because of bootstrap failures in `encode`. -- cgit v1.2.3