From 3ff3b3adb9af8a8860f2c10f1f8620cd988c8e8e Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 14 Mar 2017 17:26:58 +0100 Subject: Add neg test for illegal parameter names and fix typo --- compiler/src/dotty/tools/dotc/core/Types.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/src/dotty/tools') 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. -- cgit v1.2.3