aboutsummaryrefslogtreecommitdiff
path: root/compiler/src/dotty/tools/dotc/core/Types.scala
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2017-03-14 17:26:58 +0100
committerMartin Odersky <odersky@gmail.com>2017-04-06 13:15:27 +0200
commit3ff3b3adb9af8a8860f2c10f1f8620cd988c8e8e (patch)
treeb35ee3a06fe937e328b11035881574694240bad9 /compiler/src/dotty/tools/dotc/core/Types.scala
parent6545606cefaf8ec7090f8a601123bfae61b441a6 (diff)
downloaddotty-3ff3b3adb9af8a8860f2c10f1f8620cd988c8e8e.tar.gz
dotty-3ff3b3adb9af8a8860f2c10f1f8620cd988c8e8e.tar.bz2
dotty-3ff3b3adb9af8a8860f2c10f1f8620cd988c8e8e.zip
Add neg test for illegal parameter names
and fix typo
Diffstat (limited to 'compiler/src/dotty/tools/dotc/core/Types.scala')
-rw-r--r--compiler/src/dotty/tools/dotc/core/Types.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/Types.scala b/compiler/src/dotty/tools/dotc/core/Types.scala
index 6b5be5489..533a8f3f6 100644
--- a/compiler/src/dotty/tools/dotc/core/Types.scala
+++ b/compiler/src/dotty/tools/dotc/core/Types.scala
@@ -2574,7 +2574,7 @@ object Types {
/** A type lambda of the form `[X_0 B_0, ..., X_n B_n] => T`
* This is used both as a type of a polymorphic method and as a type of
- * a higher-kidned type parameter. Variances are encoded in parameter
+ * a higher-kinded type parameter. Variances are encoded in parameter
* names. A name starting with `+` designates a covariant parameter,
* a name starting with `-` designates a contravariant parameter,
* and every other name designates a non-variant parameter.