Fix failed tests
This commit is contained in:
committed by
Dmitriy Novozhilov
parent
3c4989b672
commit
a98e2c4e03
@@ -332,10 +332,10 @@ interface IrTypeSystemContext : TypeSystemContext, TypeSystemCommonSuperTypesCon
|
||||
arguments: List<TypeArgumentMarker>,
|
||||
nullable: Boolean,
|
||||
isExtensionFunction: Boolean,
|
||||
annotations: List<AnnotationMarker>?
|
||||
attributes: List<AnnotationMarker>?
|
||||
): SimpleTypeMarker {
|
||||
val ourAnnotations = annotations?.filterIsInstance<IrConstructorCall>()
|
||||
require(ourAnnotations?.size == annotations?.size)
|
||||
val ourAnnotations = attributes?.filterIsInstance<IrConstructorCall>()
|
||||
require(ourAnnotations?.size == attributes?.size)
|
||||
return IrSimpleTypeImpl(
|
||||
constructor as IrClassifierSymbol,
|
||||
nullable,
|
||||
@@ -406,6 +406,10 @@ interface IrTypeSystemContext : TypeSystemContext, TypeSystemCommonSuperTypesCon
|
||||
return this.annotations.map { object : AnnotationMarker, IrElement by it {} }
|
||||
}
|
||||
|
||||
override fun KotlinTypeMarker.hasCustomAttributes(): Boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
override fun KotlinTypeMarker.getCustomAttributes(): List<AnnotationMarker> {
|
||||
require(this is IrType)
|
||||
return emptyList()
|
||||
|
||||
Reference in New Issue
Block a user