Frontend: create component functions for properties with error types

Fixes an inconsistency in light classes where we could have different
  class structure depending on whether the type was resolved
This commit is contained in:
Pavel V. Talanov
2017-03-02 17:35:25 +03:00
parent fa58f1b4d7
commit d94da5af40
4 changed files with 50 additions and 1 deletions
@@ -163,7 +163,6 @@ open class LazyClassMemberScope(
var componentIndex = 0
for (parameter in constructor.valueParameters) {
if (parameter.type.isError) continue
if (!primaryConstructorParameters.get(parameter.index).hasValOrVar()) continue
val properties = getContributedVariables(parameter.name, location)