Disallowed using type parameter as reified type argument.

#KT-3050 fixed
This commit is contained in:
Evgeny Gerashchenko
2013-09-26 03:12:14 +04:00
parent 2c877f080e
commit 48625dd7b6
15 changed files with 147 additions and 10 deletions
@@ -102,7 +102,7 @@ class SyntaxHighligher() {
fun putAll(tokenSet: TokenSet?, style: String): Unit {
if (tokenSet != null) {
for (token in tokenSet.getTypes().orEmpty()) {
for (token in tokenSet.getTypes()) {
styleMap.put(token, style)
}
}