diff --git a/compiler/frontend/src/org/jetbrains/kotlin/resolve/lazy/ForceResolveUtil.java b/compiler/frontend/src/org/jetbrains/kotlin/resolve/lazy/ForceResolveUtil.java index cf1d9908528..c186073a4d2 100644 --- a/compiler/frontend/src/org/jetbrains/kotlin/resolve/lazy/ForceResolveUtil.java +++ b/compiler/frontend/src/org/jetbrains/kotlin/resolve/lazy/ForceResolveUtil.java @@ -94,6 +94,7 @@ public class ForceResolveUtil { public static JetType forceResolveAllContents(@Nullable JetType type) { if (type == null) return null; + forceResolveAllContents(type.getAnnotations()); if (TypesPackage.isFlexible(type)) { forceResolveAllContents(TypesPackage.flexibility(type).getLowerBound()); forceResolveAllContents(TypesPackage.flexibility(type).getUpperBound());