From 54f0da300cb37eeaf506fa7925d9c3ba068de611 Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Wed, 5 Aug 2015 15:19:52 +0300 Subject: [PATCH] Force resolve type annotations --- .../src/org/jetbrains/kotlin/resolve/lazy/ForceResolveUtil.java | 1 + 1 file changed, 1 insertion(+) 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());