Fix handling of typealiases in non-classname envs + wildcard fix… (#987)

* Correctly render non-classname wildcard types

Resolves #984
Resolves #985

* Add thorough typealias test

* Expand unwrapTypeAlias to parameterized and wildcard types

Resolves #983

* Disable Werror for now
This commit is contained in:
Zac Sweers
2019-10-30 21:15:28 -04:00
committed by GitHub
parent ac789070e8
commit 092175ae90
4 changed files with 87 additions and 6 deletions

View File

@@ -115,7 +115,11 @@
</executions>
<configuration>
<args>
<arg>-Werror</arg>
<!--
Disabled for now because we generate redundant `out` variance for some generics,
but there's no way for us to know when it's redundant.
-->
<!-- <arg>-Werror</arg>-->
<arg>-Xuse-experimental=kotlin.ExperimentalStdlibApi</arg>
<arg>-XXLanguage:+InlineClasses</arg>
</args>