Skip to content

Commit

Permalink
[FIR] Fix getClassDeclaredCallableSymbols for constructors
Browse files Browse the repository at this point in the history
  • Loading branch information
semoro committed Apr 16, 2020
1 parent eff5700 commit 3c4e691
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ fun FirSymbolProvider.getClassDeclaredCallableSymbols(classId: ClassId, name: Na
val result = mutableListOf<FirCallableSymbol<*>>()
declaredMemberScope.processFunctionsByName(name, result::add)
declaredMemberScope.processPropertiesByName(name, result::add)
if (name == classId.shortClassName) declaredMemberScope.processDeclaredConstructors(result::add)

return result
}
Expand Down

0 comments on commit 3c4e691

Please sign in to comment.