JS/RTTI: (minor) fixed typo

This commit is contained in:
Alexey Tsvetkov
2015-06-24 15:44:09 +03:00
committed by Alexey Andreev
parent 57fbab9f7c
commit d42cbde74d
2 changed files with 7 additions and 2 deletions
@@ -120,7 +120,7 @@ public class CastDiagnosticsUtil {
if (typeChecker.isSubtypeOf(supertype, subtype)) return false;
// downcasting to a non-reified type parameter is always erased
if (TypeUtils.isNonReifiedTypeParemeter(subtype)) return true;
if (TypeUtils.isNonReifiedTypeParameter(subtype)) return true;
// Check that we are actually casting to a generic type
// NOTE: this does not account for 'as Array<List<T>>'