[FIR] Report UNSUPPORTED for default value in function type

This commit is contained in:
Ivan Kochurkin
2022-06-15 15:01:16 +03:00
committed by teamcity
parent a3647bb4ff
commit ffbb23661d
6 changed files with 46 additions and 20 deletions
@@ -204,6 +204,9 @@ class ConeImportFromSingleton(val name: Name) : ConeDiagnostic {
open class ConeUnsupported(override val reason: String, val source: KtSourceElement? = null) : ConeDiagnostic
open class ConeUnsupportedDefaultValueInFunctionType(source: KtSourceElement? = null) :
ConeUnsupported("Default value of parameter in function type", source)
class ConeUnresolvedParentInImport(val parentClassId: ClassId) : ConeDiagnostic {
override val reason: String
get() = "unresolved import"